Skip to content

Instantly share code, notes, and snippets.

@phaustin
Created March 8, 2019 17:15
Show Gist options
  • Select an option

  • Save phaustin/67f7fede9d39da31b4e807a71a7df088 to your computer and use it in GitHub Desktop.

Select an option

Save phaustin/67f7fede9d39da31b4e807a71a7df088 to your computer and use it in GitHub Desktop.
conda compilers without conda
dyld: Library not loaded: @rpath/libgsl.23.dylib
  Referenced from: /Users/duncan/git/lalsuite/lalinference/./conftest
  Reason: image not found
  
export LDFLAGS="$LDFLAGS,-rpath $CONDA_PREFIX/lib”  -- works

instead do:

conda activate myenv
export CONDA_BUILD=1
export PREFIX=$CONDA_PREFIX
conda activate myenv

Does anyone know how to create MPI variants for a recipe with outputs?

Dave Hirschfeld @dhirschfeld Mar 07 17:00
@isuruf - does this document by @minrk help?

Isuru Fernando @isuruf Mar 07 18:21
No, but I figured it out. You need {{ mpi }} in the top level requirements. Otherwise, the build hashes will be the same
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment