290 |
echo "WARNING: C test compile fails -- please see \"genmake_errors\"" |
echo "WARNING: C test compile fails -- please see \"genmake_errors\"" |
291 |
echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'" |
echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'" |
292 |
echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here." |
echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here." |
293 |
|
rm -f genmake_tcomp.* genmake_test.* |
294 |
return 1 |
return 1 |
295 |
fi |
fi |
296 |
c_tcall=`nm genmake_test.o | grep tcall | cut -d ' ' -f 3` |
c_tcall=`nm genmake_test.o | grep tcall | cut -d ' ' -f 3` |
301 |
echo "WARNING: The \"nm\" command failed." |
echo "WARNING: The \"nm\" command failed." |
302 |
echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'" |
echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'" |
303 |
echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here." |
echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here." |
304 |
|
rm -f genmake_tcomp.* genmake_test.* |
305 |
return 1 |
return 1 |
306 |
fi |
fi |
307 |
cat > genmake_tcomp.f <<EOF |
cat > genmake_tcomp.f <<EOF |
319 |
echo "WARNING: FORTRAN test compile fails -- please see \"genmake_errors\"" |
echo "WARNING: FORTRAN test compile fails -- please see \"genmake_errors\"" |
320 |
echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'" |
echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'" |
321 |
echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here." |
echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here." |
322 |
|
rm -f genmake_tcomp.* genmake_test.* |
323 |
return 1 |
return 1 |
324 |
fi |
fi |
325 |
f_tcall=`nm genmake_tcomp.o | grep tcall | cut -d ' ' -f 3` |
f_tcall=`nm genmake_tcomp.o | grep tcall | cut -d ' ' -f 3` |
330 |
echo "WARNING: The \"nm\" command failed." |
echo "WARNING: The \"nm\" command failed." |
331 |
echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'" |
echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'" |
332 |
echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here." |
echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here." |
333 |
|
rm -f genmake_tcomp.* genmake_test.* |
334 |
return 1 |
return 1 |
335 |
fi |
fi |
336 |
|
|