| 1 | cnh | 1.1 | # | 
| 2 |  |  | # o ESMF library related parameters | 
| 3 |  |  | # EFC    -  Fortran 90 compiler that is binary compatible with | 
| 4 |  |  | #           the compiler used to build ESMF. In general this means | 
| 5 |  |  | #           use the same compiler as was used for building ESMF. | 
| 6 |  |  | # ECC    -  C/C++ compiler that is binary compatible with | 
| 7 |  |  | #           the compiler used to build ESMF. In general this means | 
| 8 |  |  | #           use the same compiler as was used for building ESMF. | 
| 9 |  |  | # EDIR    - Root directory for the ESMF install | 
| 10 |  |  | # EIPATH  - Path to directory containing ESMF Fortran 90 modules. | 
| 11 |  |  | # ELPATH  - Path to directory containing ESMF libraries | 
| 12 |  |  | # ECFLAGS - Compiler flags for compiling with ESMF | 
| 13 |  |  | # ELFLAGS - Linker flags for linking with ESMF | 
| 14 |  |  | EFC=/usr/local/pkg/mpi/mpich-1.2.6_intel81/bin/mpif90 | 
| 15 |  |  | ECC=/usr/local/pkg/mpi/mpich-1.2.6_intel81/bin/mpiCC | 
| 16 |  |  | EDIR=/mnt/home/cnh/src/esmf_builds/intel/ESMF_2_1_0rp2/esmf | 
| 17 |  |  | EIPATH=$(EDIR)/mod/modg/Linux.intel.32.default | 
| 18 |  |  | ELPATH=$(EDIR)/lib/libg/Linux.intel.32.default | 
| 19 |  |  | ECFLAGS=-I$(EIPATH) | 
| 20 |  |  | ELFLAGS=-L$(ELPATH) -lesmf -lrt | 
| 21 |  |  |  | 
| 22 |  |  | # | 
| 23 |  |  | # EESMF library related parameters | 
| 24 |  |  | # EEDIR   - Root directory of EESMF install | 
| 25 |  |  | # EIPATH  - Path to directory containing EESMF Fortran 90 modules | 
| 26 |  |  | # ELPATH  - Path to directory containing EESMF libraries | 
| 27 |  |  | # ECFLAGS - Compiler flags for compiling with EESMF | 
| 28 |  |  | # ELFLAGS - Linker flags for linking with EESMF | 
| 29 |  |  | EEDIR=/mnt/home/cnh/src/PRM_co/eesmf_mod.dir | 
| 30 |  |  | EEIPATH=$(EEDIR)/src/mod | 
| 31 |  |  | EELPATH=$(EEDIR)/src/lib | 
| 32 |  |  | EECFLAGS=-I$(EEIPATH) $(ECFLAGS) | 
| 33 |  |  | EELFLAGS=-L$(EELPATH) -leesmf $(ELFLAGS) | 
| 34 |  |  |  | 
| 35 |  |  | # | 
| 36 |  |  | # Derived settings | 
| 37 |  |  | # | 
| 38 |  |  |  | 
| 39 |  |  | F90=$(EFC) | 
| 40 |  |  | F90FLAGS=-132 -fixed   \ | 
| 41 |  |  | $(EECFLAGS)   \ | 
| 42 |  |  | $(EELFLAGS) |