GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Millepede could not be created.
Re: Millepede could not be created. [message #19830 is a reply to message #19804] Mon, 31 October 2016 16:41 Go to previous messageGo to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi,

this is okay. Please chenge the following lines in scrips/install_millepede.sh

Quote:

if [ "$platform" = "macosx" ];
then
fortran_filepath=$(gfortran -print-file-name=libgfortran.dylib)
fortran_libdir=$(dirname $fortran_filepath)
mysed "-lgfortran " "-L${fortran_libdir} -lgfortran " Makefile has_slash
fi


to

Quote:

# if [ "$platform" = "macosx" ];
# then
fortran_filepath=$(gfortran -print-file-name=libgfortran.so)
fortran_libdir=$(dirname $fortran_filepath)
mysed "-lgfortran " "-L${fortran_libdir} -lgfortran " Makefile has_slash
# fi


and recompile. I hope that this change will solve your problem.

Ciao

Florian
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: install_cmake.sh script does not recognize installed cmake correctly
Next Topic: FairSoft not compiling due to gfortran problems in mac OS
Goto Forum:
  


Current Time: Mon Oct 18 09:19:38 CEST 2021

Total time taken to generate the page: 0.02265 seconds