321 |
|
|
322 |
#================================================================ |
#================================================================ |
323 |
# look for possible FORTRAN compilers |
# look for possible FORTRAN compilers |
324 |
tmp="$MITGCM_FC $FC efc g77 f77 pgf77 pgf95 ifc f90 f95 mpif77 mpf77 mpxlf95" |
tmp="$MITGCM_FC $FC efc g77 f77 pgf77 pgf95 ifc f90 f95 mpif77 mpf77 mpxlf95 gfortran" |
325 |
p_FC= |
p_FC= |
326 |
for c in $tmp ; do |
for c in $tmp ; do |
327 |
rm -f ./hello.f ./hello |
rm -f ./hello.f ./hello |
1827 |
done |
done |
1828 |
done |
done |
1829 |
if test ! "x"$FS = "x.f" ; then |
if test ! "x"$FS = "x.f" ; then |
1830 |
cat ad_files | sed -e "s/\.f/$FS/g" > ad_files_f |
cat ad_files | sed -e "s/\.f/.$FS/g" > ad_files_f |
1831 |
mv -f ad_files_f ad_files |
mv -f ad_files_f ad_files |
1832 |
fi |
fi |
1833 |
|
|