Giter Site home page Giter Site logo

Comments (9)

kyleabeauchamp avatar kyleabeauchamp commented on July 21, 2024

Bad idea, i had major difficulties having a parallel gcc installed via
conda.
On Apr 9, 2015 8:44 PM, "John Chodera" [email protected] wrote:

There is now a gcc conda package https://binstar.org/anaconda/gcc
complete with fortran compiler that will make building simpler.


Reply to this email directly or view it on GitHub
#13.

from ambermini.

jchodera avatar jchodera commented on July 21, 2024

Ah, OK. The idea was just to require it at build time (where it is only transiently installed), since the alternative can mean that we need all sorts of compilers installed on the build system. I think everything gets statically linked anyway.

from ambermini.

swails avatar swails commented on July 21, 2024

I tend to agree with @kyleabeauchamp. I don't think the conda gcc has anything to offer over the one you get with a package manager. And I have yet to encounter a Linux distro where gfortran was harder to get than apt-get install gfortran (or gcc-fortran for SUSE, for example).

from ambermini.

kyleabeauchamp avatar kyleabeauchamp commented on July 21, 2024

My particular problem was erratic build failures due to header
incompatibility. I actually didnt even know I had conda gcc installed.
Build time might be better, but Im not sure.
On Apr 9, 2015 8:58 PM, "Jason Swails" [email protected] wrote:

I tend to agree with @kyleabeauchamp https://github.com/kyleabeauchamp.
I don't think the conda gcc has anything to offer over the one you get with
a package manager. And I have yet to encounter a Linux distro where
gfortran was harder to get than apt-get install gfortran (or gcc-fortran
for SUSE, for example).


Reply to this email directly or view it on GitHub
#13 (comment).

from ambermini.

jchodera avatar jchodera commented on July 21, 2024

@swails, I'm recommending using it only during the build phase, which would mean that it would never be delivered to your machine when you do conda install ..., but that the worker machines that build the tool wouldn't necessarily have to have all sorts of crazy fortran compilers installed.

Building the ambermini conda package on our cluster, for example, requires hacking the recipe to specify all sorts of local paths that get erased by the conda build environment since these paths are essential to making the module-installed fortran compilers work.

from ambermini.

kyleabeauchamp avatar kyleabeauchamp commented on July 21, 2024

So one argument for not changing things is that we already engineered a pretty stable solution--use the jenkins virtual machine to build conda binary packages. AFAIK, we don't really need to rebuild ambermini on our cluster--we can just use conda install ambermini.

from ambermini.

swails avatar swails commented on July 21, 2024

It'll be easier if I can see what you mean by

hacking the recipe to specify all sorts of local paths that get erased by the conda build environment

I fail to see why ambermini is any more complicated than OpenMM when it comes to building conda packages. But I've never done it, so you would know better. (Perhaps you can help me to understand tomorrow.)

from ambermini.

jchodera avatar jchodera commented on July 21, 2024

from ambermini.

swails avatar swails commented on July 21, 2024

@swails: Fortran?

How's that any different from C++? If you fire up a vanilla Linux distro (true for Fedora, Ubuntu, and OpenSUSE), you get no gfortran and no g++ (and on at least one of them, no gcc). Yet you can get gfortran on all distros just as easily as you can get g++ there.

Add in the CUDA and OpenCL requirements that go into the conda build and all of a sudden Fortran doesn't look so heavy... :)

from ambermini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.