Changeset 371 for trunk/LMDZ.GENERIC/makegcm_pgf90
- Timestamp:
- Nov 10, 2011, 9:30:20 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/makegcm_pgf90
r253 r371 1 #!/bin/csh 1 #!/bin/csh -f 2 2 # $Header: /users/lmdz/cvsroot/LMDZ.3.3/makegcm,v 1.21 2001/07/04 08:41:44 lmdz Exp $ 3 3 #set verbose echo … … 19 19 20 20 #### If you want you can set environment variables here 21 # default LMDGCM is where the makegcm script is: 22 #setenv LMDGCM `pwd`"/"`dirname $0` # only works for relative paths 23 setenv LMDGCM `readlink -f $0` 21 24 #setenv LMDGCM "/san/home/rdword/gcm/LMDZ.GENERIC" 22 #setenv LIBOGCM $LMDGCM/libo 23 #setenv NCDFLIB /usr/local/lib 24 #setenv NCDFINC /usr/local/include 25 if ( `uname -m` == "x86_64" ) then 26 # 64 bit machines 27 setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_pgi/lib 28 setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_pgi/include 29 else 30 setenv NCDFLIB /donnees/emlmd/netcdf-4.0.1_pgi/lib 31 setenv NCDFINC /donnees/emlmd/netcdf-4.0.1_pgi/include 32 endif 25 setenv LIBOGCM $LMDGCM/libo 26 # NetCDF, on LMD 64 bit machines 27 setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_pgi/lib 28 setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_pgi/include 33 29 #### 34 30 … … 803 799 cd $localdir 804 800 801 set source_code=${code}.F 802 if (-f $LMDGCM/libf/phystd/${code}.F90) then 803 set source_code=${code}.F90 804 endif 805 805 806 806 echo $make -f $LMDGCM/makefile \ … … 826 826 MOD_SUFFIX=$mod_suffix \ 827 827 AR=$ar \ 828 SOURCE=$source_code \ 828 829 PROG=$code 829 830 … … 851 852 MOD_SUFFIX=$mod_suffix \ 852 853 AR=$ar \ 854 SOURCE=$source_code \ 853 855 PROG=$code 854 856
Note: See TracChangeset
for help on using the changeset viewer.