/[MITgcm]/MITgcm/tools/build_options/linux_amd64_pgf77
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_amd64_pgf77

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7 by jmc, Mon Jul 22 18:40:45 2013 UTC revision 1.8 by jmc, Tue Aug 27 23:10:08 2013 UTC
# Line 21  Line 21 
21  #       module load pgi     (Version 11.7)  #       module load pgi     (Version 11.7)
22  #   and with mpich2:  #   and with mpich2:
23  #       module load mvapich2  #       module load mvapich2
24  #   or  with openmpi:  #   or  with openmpi: (support also OpenMP to run mpi+mth)
25  #       module load openmpi  #       module load openmpi
26    
27    #-------
28    # compile (genmake2 -omp) and run with OpenMP: needs to set environment var.
29    #    OMP_NUM_THREADS and generally, needs to increase the thread stack-size:
30    #   -  sh,bash:
31    #     > export OMP_NUM_THREADS=2
32    #     > export OMP_STACKSIZE=400m
33    #   - csh,tcsh:
34    #     > setenv OMP_NUM_THREADS 2
35    #     > setenv OMP_STACKSIZE 400m
36  #-------  #-------
37    
38  if test "x$MPI" = xtrue ; then  if test "x$MPI" = xtrue ; then
# Line 44  fi Line 54  fi
54  CPP='cpp -traditional -P'  CPP='cpp -traditional -P'
55  EXTENDED_SRC_FLAG='-Mextend'  EXTENDED_SRC_FLAG='-Mextend'
56  GET_FC_VERSION="-V"  GET_FC_VERSION="-V"
57    OMPFLAG='-mp'
58    
59  NOOPTFLAGS='-O0'  NOOPTFLAGS='-O0'
60  NOOPTFILES=''  NOOPTFILES=''

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22