[issm-support] compilation trouble
Saffia Hossainzadeh
shossainzadeh at gmail.com
Fri Mar 9 18:50:04 PST 2012
Hi,
I'm having a compilation error when trying to make ISSM and am wondering if
anyone has encountered something similar and may have a solution.
I get the following error during make:
i686-apple-darwin10-g++-4.2.1: /usr/local/lib/libgfortran.a: No such file
or directory
make[3]: *** [issm.exe] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The file it can't find is needed for the parameter --with-fortran-lib,
which does not exist on that path in my machine. I found the file on my
machine at this path: /usr/local/gfortran/lib/libgfortran.a
So I changed the path in my .sh file to that, but I still got the following
error on make (after re-executing the configure.sh file):
Making all in mex
CXX AverageFilter.o
CXXLD AverageFilter.mexmaci64
ld: library not found for -largeArrayDims
collect2: ld returned 1 exit status
ld: library not found for -largeArrayDims
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/2J/2Ji9hdVREH0nCVzmYaR-aE+++TM/-Tmp-//ccc3SKt8.out (No such
file or directory)
make[3]: *** [AverageFilter.mexmaci64] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The gfortran that is being used on my machine is located here: which
gfortran: /usr/local/bin/gfortran.
Any advice would be appreciated!
Thanks!
Saffia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://issm.ess.uci.edu/pipermail/issm-support/attachments/20120309/9cd507d8/attachment.html>
More information about the issm-support
mailing list