Molcas Forum

Support and discussions for Molcas and OpenMolcas users and developers

You are not logged in.

Announcement

Welcome to the Molcas forum. You can choose an avatar and change the default style by going to "Profile" → "Personality" or "Display".

#1 2019-03-23 16:08:55

songq@nwu.edu.cn
Member
Registered: 2018-08-18
Posts: 2

Build OpenMolcas on My Macbook pro with MacOS High Sierra,it Fails

Dear all,
When I am trying to compile OpenMolcas on my MacBook Pro with MacOS High Sierra,
1. cmake ../OpenMolcas; success.
2. make all; Fail.
and the massages are as follows:

[ 72%] Built target lapack
[ 72%] Linking Fortran static library lib/libmolcas.a
/opt/local/bin/ranlib: file: lib/libmolcas.a(rungromacs.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(opt_mmo.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(gmx_wrapper.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(rungromacs.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(opt_mmo.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(gmx_wrapper.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ga_replace_ma.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(fetch_qmmm.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(grid_it.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(rungromacs.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(opt_mmo.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(gmx_wrapper.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ga_replace_ma.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(fetch_qmmm.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(grid_it.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(check_parallel_data.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(rungromacs.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(opt_mmo.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(gmx_wrapper.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ga_replace_ma.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(fetch_qmmm.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(grid_it.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(check_parallel_data.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addauxbasvector.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addblockvector.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(rungromacs.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(opt_mmo.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(gmx_wrapper.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ga_replace_ma.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(fetch_qmmm.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(grid_it.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(check_parallel_data.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addauxbasvector.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addblockvector.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addblockmatrix.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(rungromacs.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(opt_mmo.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(gmx_wrapper.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ga_replace_ma.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(fetch_qmmm.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(grid_it.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(check_parallel_data.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addauxbasvector.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addblockvector.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addblockmatrix.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(rungromacs.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(opt_mmo.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(gmx_wrapper.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ga_replace_ma.c.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(fetch_qmmm.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(grid_it.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(check_parallel_data.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addauxbasvector.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addblockvector.f.o) has no symbols
/opt/local/bin/ranlib: file: lib/libmolcas.a(ldf_p_addblockmatrix.f.o) has no symbols
[ 72%] Built target molcas
[ 72%] Building Fortran object CMakeFiles/vibrot.exe.dir/src/vibrot/main.f.o
[ 72%] Linking Fortran executable bin/vibrot.exe
ld: can't map file, errno=22 file '/Users/songqi/anaconda3/lib' for architecture x86_64
make[2]: *** [bin/vibrot.exe] Error 1
make[1]: *** [CMakeFiles/vibrot.exe.dir/all] Error 2
make: *** [all] Error 2


...................
How to solve this problem? Thank you.

Offline

#2 2019-03-25 02:34:34

songq@nwu.edu.cn
Member
Registered: 2018-08-18
Posts: 2

Re: Build OpenMolcas on My Macbook pro with MacOS High Sierra,it Fails

change Apple Xcode-Clang to gcc and g++, the compile and build success

Offline

Board footer

Powered by FluxBB

Last refresh: Today 00:06:37