conda-forge / mpich-feedstock

A conda-smithy repository for mpich.
BSD 3-Clause "New" or "Revised" License
2 stars 26 forks source link

mpich needs to be rebuild on OSX. (libgcc_s.1.dylib) #14

Closed dnadeau4 closed 7 years ago

dnadeau4 commented 7 years ago

Some dynamic libraries have /Users/ray/... I can't link with this path...


./lib/libfmpich.dylib:
...
        /Users/ray/mc-x64-3.5/conda-bld/gcc-4.8_1477649012852/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

./lib/libmpi.12.dylib:
        /Users/ray/mc-x64-3.5/conda-bld/gcc-4.8_1477649012852/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/libgcc_s.1.dylib (compatibility version 1.0.0, c
...
dnadeau4 commented 7 years ago

I was actually trying to build esmf on OSX using conda-forge recipe.

dalcinl commented 7 years ago

@minrk I'm planning to bump the build number to get fresh packages for Linux and macOS. Are you OK with that?

minrk commented 7 years ago

Yup, please do.

dalcinl commented 7 years ago

@dnadeau4 Could you please check the new build and close this issue is things are working as expected?

dnadeau4 commented 7 years ago

I will, so far I am struggling with the ligcc_s.1.dylib issue. I think there is confusion between clang and gfortran.

mpif90   -m64 -mcmodel=small -L/Users/nadeau1/software/anaconda3/conda-bld/esmf_1506469801385/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib -L/Users/nadeau1/software/anaconda3/conda-bld/esmf_1506469801385/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib -L./  -o /Users/nadeau1/software/anaconda3/conda-bld/esmf_1506469801385/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/bin/ESMF_Info /Users/nadeau1/software/anaconda3/conda-bld/esmf_1506469801385/work/esmf/obj/objO/Darwin.gfortran.64.mpich2.default/src/apps/ESMF_Info/ESMF_Info.o -lesmf  -lstdc++ -lc++ -lnetcdff -lnetcdf
ld: file not found: @rpath/libmfhdf.0.dylib for architecture x86_64
collect2: error: ld returned 1 exit status
dnadeau4 commented 7 years ago

This seems working for me now on python3. Thanks! 👍