@make 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/bin/csh
  2. # USERS MUST CHANGE THESE !!!!!!
  3. set FORTRAN=ifort
  4. set FFLAGS='-O -pc 64 -recursive -c'
  5. echo "*********************** CPP TEST ************************"
  6. echo First we deal with the OPEN function
  7. echo
  8. echo --------
  9. echo If the following compilation works than you can use the -U_OPEN_POSITION option.
  10. echo
  11. $FORTRAN $FFLAGS -o open_test1 open_test1.f
  12. echo Done compilation.
  13. echo
  14. echo --------
  15. echo If the following compilation works than you can use the -D_OPEN_POSITION option.
  16. echo
  17. $FORTRAN $FFLAGS -o open_test2 open_test2.f
  18. echo Done compilation.
  19. echo
  20. echo --------
  21. echo If neither worked contact Hal Levison.
  22. echo
  23. echo "*********************************************************"
  24. echo First we deal with recursion.
  25. echo
  26. echo --------
  27. echo If the following compilation works than you can use the -U_RECUR_SUB option.
  28. echo
  29. $FORTRAN $FFLAGS -o recur_test1 recur_test1.f
  30. echo Done compilation.
  31. echo
  32. echo --------
  33. echo If the following compilation works than you can use the -D_RECUR_SUB option.
  34. echo
  35. $FORTRAN $FFLAGS -o recur_test2 recur_test2.f
  36. echo Done compilation.
  37. echo
  38. echo --------
  39. echo If neither worked contact Hal Levison.
  40. echo
  41. echo
  42. echo
  43. rm *.o
  44. echo Done directory $PWD