1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #!/bin/csh
- # USERS MUST CHANGE THESE !!!!!!
- set FORTRAN=ifort
- set FFLAGS='-O -pc 64 -recursive -c'
- echo "*********************** CPP TEST ************************"
- echo First we deal with the OPEN function
- echo
- echo --------
- echo If the following compilation works than you can use the -U_OPEN_POSITION option.
- echo
- $FORTRAN $FFLAGS -o open_test1 open_test1.f
- echo Done compilation.
- echo
- echo --------
- echo If the following compilation works than you can use the -D_OPEN_POSITION option.
- echo
- $FORTRAN $FFLAGS -o open_test2 open_test2.f
- echo Done compilation.
- echo
- echo --------
- echo If neither worked contact Hal Levison.
- echo
- echo "*********************************************************"
- echo First we deal with recursion.
- echo
- echo --------
- echo If the following compilation works than you can use the -U_RECUR_SUB option.
- echo
- $FORTRAN $FFLAGS -o recur_test1 recur_test1.f
- echo Done compilation.
- echo
- echo --------
- echo If the following compilation works than you can use the -D_RECUR_SUB option.
- echo
- $FORTRAN $FFLAGS -o recur_test2 recur_test2.f
- echo Done compilation.
- echo
- echo --------
- echo If neither worked contact Hal Levison.
- echo
- echo
- echo
- rm *.o
- echo Done directory $PWD
|