Please help a dummy
Dominique Dhumieres
dominiq@lps.ens.fr
Mon Aug 22 16:03:00 GMT 2005
Paul,
Thank you for the quick answer, but it still does not work
(Note that I use tcsh, but it should not matter).
I have
[akira] win/f90> printenv LD_LIBRARY_PATH
/users/stat5/dominiq/SUN/test/gfortran/irun/lib:/opt/intel_fc_80/lib
[akira] win/f90> ll /users/stat5/dominiq/SUN/test/gfortran/irun/lib
total 5712
drwxr-sr-x 4 dominiq lps-02 4096 2005-08-22 17:29 .
drwxr-sr-x 7 dominiq lps-02 4096 2005-08-22 11:48 ..
drwxr-sr-x 2 dominiq lps-02 4096 2005-08-22 11:48 32
drwxr-sr-x 3 dominiq lps-02 4096 2005-08-22 11:48 gcc
lrwxrwxrwx 1 dominiq lps-02 13 2005-08-22 16:00 libgcc_s.so -> libgcc_s.so.1
-rw-r--r-- 1 dominiq lps-02 211544 2005-08-22 11:48 libgcc_s.so.1
-rw-r--r-- 1 dominiq lps-02 2095806 2005-08-22 11:48 libgfortran.a
-rw-r--r-- 1 dominiq lps-02 4266 2005-08-22 11:48 libgfortranbegin.a
-rwxr-xr-x 1 dominiq lps-02 738 2005-08-22 11:48 libgfortranbegin.la
-rwxr-xr-x 1 dominiq lps-02 795 2005-08-22 11:48 libgfortran.la
lrwxrwxrwx 1 dominiq lps-02 20 2005-08-22 16:00 libgfortran.so -> libgfortran.so.0.0.0
lrwxrwxrwx 1 dominiq lps-02 20 2005-08-22 17:29 libgfortran.so.0 -> libgfortran.so.0.0.0
-rwxr-xr-x 1 dominiq lps-02 1179314 2005-08-22 11:48 libgfortran.so.0.0.0
-rw-r--r-- 1 dominiq lps-02 952932 2005-08-22 11:48 libiberty.a
-rw-r--r-- 1 dominiq lps-02 365618 2005-08-22 11:48 libmudflap.a
-rwxr-xr-x 1 dominiq lps-02 789 2005-08-22 11:48 libmudflap.la
lrwxrwxrwx 1 dominiq lps-02 19 2005-08-22 16:00 libmudflap.so -> libmudflap.so.0.0.0
lrwxrwxrwx 1 dominiq lps-02 19 2005-08-22 16:00 libmudflap.so.0 -> libmudflap.so.0.0.0
-rwxr-xr-x 1 dominiq lps-02 226564 2005-08-22 11:48 libmudflap.so.0.0.0
-rw-r--r-- 1 dominiq lps-02 384098 2005-08-22 11:48 libmudflapth.a
-rwxr-xr-x 1 dominiq lps-02 803 2005-08-22 11:48 libmudflapth.la
lrwxrwxrwx 1 dominiq lps-02 21 2005-08-22 16:00 libmudflapth.so -> libmudflapth.so.0.0.0
lrwxrwxrwx 1 dominiq lps-02 21 2005-08-22 16:00 libmudflapth.so.0 -> libmudflapth.so.0.0.0
-rwxr-xr-x 1 dominiq lps-02 235792 2005-08-22 11:48 libmudflapth.so.0.0.0
-rw-r--r-- 1 dominiq lps-02 58538 2005-08-22 11:48 libssp.a
-rwxr-xr-x 1 dominiq lps-02 756 2005-08-22 11:48 libssp.la
-rw-r--r-- 1 dominiq lps-02 2592 2005-08-22 11:48 libssp_nonshared.a
-rwxr-xr-x 1 dominiq lps-02 738 2005-08-22 11:48 libssp_nonshared.la
lrwxrwxrwx 1 dominiq lps-02 15 2005-08-22 16:00 libssp.so -> libssp.so.0.0.0
lrwxrwxrwx 1 dominiq lps-02 15 2005-08-22 16:00 libssp.so.0 -> libssp.so.0.0.0
-rwxr-xr-x 1 dominiq lps-02 29766 2005-08-22 11:48 libssp.so.0.0.0
The Intel compiler works (to some extent!-):
[akira] win/f90> ifc -O3 capacita.f90
[akira] win/f90> a.out
Give: N_x, N_y, GridSize_X, GridSize_Y, DoCircle, UseFFT, UsePreco
N_x and N_y give the grid division in x and y-directions and
should be powers of 2, DoCircle and UseFFT are T or F (true
or false). If DoCircle=T, the case of an ellipse is computed
(circle: C = 8*eps0*R, P = 16/3*eps0*R^3), else that of the
completely filled grid. UseFFT is for increased speed.
Calculating G
Transforming G
Segmentation fault
but not gfortran
[akira] win/f90> /users/stat5/dominiq/SUN/test/gfortran/irun/bin/gfortran -O3 capacita.f90
[akira] win/f90> a.out
a.out: error while loading shared libraries: libgfortran.so.0: cannot open shared object file: No such file or directory
I have tried to logout/login to no avail.
Note that the Intel compiler seems to no longer require to have its path in
LD_LIBRARY_PATH:
[akira] win/f90> printenv LD_LIBRARY_PATH
/users/stat5/dominiq/SUN/test/gfortran/irun/lib
[akira] win/f90> ifc -O3 capacita.f90
[akira] win/f90> a.out
Give: N_x, N_y, GridSize_X, GridSize_Y, DoCircle, UseFFT, UsePreco
N_x and N_y give the grid division in x and y-directions and
should be powers of 2, DoCircle and UseFFT are T or F (true
or false). If DoCircle=T, the case of an ellipse is computed
(circle: C = 8*eps0*R, P = 16/3*eps0*R^3), else that of the
completely filled grid. UseFFT is for increased speed.
Calculating G
Transforming G
Segmentation fault
at some point in the past it did.
Anyway I don't know what to do.
Dominique
More information about the Fortran
mailing list