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 2017-10-26 19:32:14

jzapatarivera
Member
Registered: 2017-10-26
Posts: 5

OpenMolcas Installation Problem on Mac OS

Estimado Ignacio,
disculpa que te escriba en Castellano.
He tenido conflictos para instalar la versión OpenMolcas en Mac OS. He seguido las instrucciones hasta el paso 3. y en la ejecución de cmake me arroja el error que enseño más abajo. ¿Puedes por favor apoyarme a solucionarlo?
Un saludo cordial,
Jhon

Error:

Configuring compilers:
-- The Fortran compiler identification is unknown
-- The C compiler identification is unknown
-- Checking whether Fortran compiler has -isysroot
-- Checking whether Fortran compiler has -isysroot - yes
-- Checking whether Fortran compiler supports OSX deployment target flag
-- Checking whether Fortran compiler supports OSX deployment target flag - yes
-- Check for working Fortran compiler: /usr/local/bin/gfortran-7
-- Check for working Fortran compiler: /usr/local/bin/gfortran-7  -- broken
CMake Error at /opt/local/share/cmake-3.9/Modules/CMakeTestFortranCompiler.cmake:44 (message):
  The Fortran compiler "/usr/local/bin/gfortran-7" is not able to compile a
  simple test program.

  It fails with the following output:

   Change Dir: /Users/calamari/build/CMakeFiles/CMakeTmp

  

  Run Build Command:"/usr/bin/make" "cmTC_25249/fast"

  /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
  CMakeFiles/cmTC_25249.dir/build.make CMakeFiles/cmTC_25249.dir/build

  Building Fortran object CMakeFiles/cmTC_25249.dir/testFortranCompiler.f.o

  /usr/local/bin/gfortran-7 -c
  /Users/calamari/build/CMakeFiles/CMakeTmp/testFortranCompiler.f -o
  CMakeFiles/cmTC_25249.dir/testFortranCompiler.f.o

  FATAL:/opt/local/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!

  make[1]: *** [CMakeFiles/cmTC_25249.dir/testFortranCompiler.f.o] Error 1

  make: *** [cmTC_25249/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:172 (project)


-- Configuring incomplete, errors occurred!
See also "/Users/calamari/build/CMakeFiles/CMakeOutput.log".
See also "/Users/calamari/build/CMakeFiles/CMakeError.log".

Offline

#2 2017-10-27 16:56:22

Ignacio
Administrator
From: Uppsala
Registered: 2015-11-03
Posts: 558

Re: OpenMolcas Installation Problem on Mac OS

O el compilador no funciona bien, o hay alguna incompatibilidad con la versión 7. Prueba con gcc/gfortran 4.8.

Offline

#3 2017-10-27 19:02:53

jzapatarivera
Member
Registered: 2017-10-26
Posts: 5

Re: OpenMolcas Installation Problem on Mac OS

Dear Ignacio,
Thank you for your reply.
cmake does work correctly by defining:
export FC=~/gfortran-4.8
I have also defined the path for  OpenBlas with LINALG=
However, once executed "make" command is obtained:

Scanning dependencies of target mods_obj
[  1%] Building Fortran object CMakeFiles/mods_obj.dir/src/Modules/efp.f90.o
[  1%] Building Fortran object CMakeFiles/mods_obj.dir/src/Modules/efp_module.f.o
[  1%] Building Fortran object CMakeFiles/mods_obj.dir/src/Modules/geolist.f.o
[  1%] Building Fortran object CMakeFiles/mods_obj.dir/src/Modules/her_rw.f.o
[  1%] Building Fortran object CMakeFiles/mods_obj.dir/src/Modules/isd_data.f.o
[  1%] Building Fortran object CMakeFiles/mods_obj.dir/src/Modules/isotopes.f.o
/var/folders/85/1h2w0fj11k7058v_t6vl_gtr0000gp/T//cciaLyeG.s:14972:expecting string instruction after `rep'
make[2]: *** [CMakeFiles/mods_obj.dir/src/Modules/isotopes.f.o] Error 1
make[1]: *** [CMakeFiles/mods_obj.dir/all] Error 2
make: *** [all] Error 2

Do you have any insight about that?

Thank in advance again,
Jhon

Offline

Board footer

Powered by FluxBB

Last refresh: Today 08:38:07