[MITgcm-support] teething.. genmake2 with gfortran

jschwarz at awi-bremerhaven.de jschwarz at awi-bremerhaven.de
Thu Jun 29 23:47:13 EDT 2006


Thanks Martin,

{I had checked that ln was there and that the write permissions were ok (not sure that you realised how long my first email was!).. the problem turns out to have been that you can't make a symbolic link on an external hard drive.  I was running the code from /verification/exp2/input, which is what the manual instructs - i guess brainy folk would have recognised straight up that 'build' is more appropriate.}
..

Anyway, now it compiles, yay!  But it doesn't run. The error concerns a link which is patently visible to me from an ls in the shell and to Konqueror, and has rwx permissions, as does the file to which it links, and the full path to them is in PATH - any ideas?  Here is the screen output (the piped output is an empty file) and the details of the file that shouldn't exist:

tasman:/usr/MITgcm/verification/exp2/build # ./mitgcmuv > jillsoutput1.txt
./mitgcmuv: error while loading shared libraries: libgfortran.so.1: cannot open shared object file: No such file or directory
tasman:/usr/MITgcm/verification/exp2/build # ls -l /usr/irun/lib
total 7220
drwxr-xr-x 3 10168 10168    4096 Jun 26 16:05 gcc
lrwxrwxrwx 1 10168 10168      13 Jun 29 16:52 libgcc_s.so -> libgcc_s.so.1
-rw-r--r-- 1 10168 10168  235953 Jun 26 16:05 libgcc_s.so.1
-rw-r--r-- 1 10168 10168 3034948 Jun 26 16:05 libgfortran.a
-rwxr-xr-x 1 10168 10168     784 Jun 26 16:05 libgfortran.la
lrwxrwxrwx 1 10168 10168      20 Jun 29 16:52 libgfortran.so -> libgfortran.so.1.0.0
lrwxrwxrwx 1 10168 10168      20 Jun 29 16:52 libgfortran.so.1 -> libgfortran.so.1.0.0
-rwxr-xr-x 1 10168 10168 1744608 Jun 26 16:05 libgfortran.so.1.0.0

tasman:/usr/MITgcm/verification/exp2/build # which libgfortran.so.1
/usr/irun/lib/libgfortran.so.1

tasman:/usr/MITgcm/verification/exp2/build # echo $PATH
/usr/irun/lib/:/usr/irun/bin/:/sbin:/usr/sbin:/usr/local/sbin:/opt/kde3/sbin:/opt/gnome/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin

thanks for your patience!
jill.





More information about the MITgcm-support mailing list