/[MITgcm]/MITgcm/verification/cpl_aim+ocn/run_cpl_test_itrda
ViewVC logotype

Diff of /MITgcm/verification/cpl_aim+ocn/run_cpl_test_itrda

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

revision 1.5 by jmc, Sun Jul 2 18:23:35 2006 UTC revision 1.6 by jmc, Sun Jul 2 22:12:37 2006 UTC
# Line 66  fi Line 66  fi
66  if test $kpr = 1  if test $kpr = 1
67  then  then
68    
69   cp -p ../../tools/build_options/linux_ia32_g77+mpi_itrda genmake_optfile  #- find the optfile that corresponds to the currently loaded mpich module
70     . /etc/profile.d/modules.sh
71     module list -t >& tmp_compiler
72     compiler=`sed -n 's/mpich\///p' tmp_compiler`
73     case $compiler in
74      'gnu')   cp -p ../../tools/build_options/linux_ia32_g77+mpi_itrda genmake_optfile ;;
75      'intel') cp -p ../../tools/build_options/linux_ia32_ifc+mpi_itrda genmake_optfile ;;
76      'pgi') cp -p ../../tools/build_options/linux_ia32_pgf77+mpi_itrda genmake_optfile ;;
77       *) echo 'ERROR: cannot use compiler:' $compiler ;
78          echo ""; cat tmp_compiler ; exit 7 ;;
79     esac
80     rm -f tmp_compiler
81     echo " Using" $compiler "compiler:"
82    #---
83   echo '==== compile coupler:'   echo '==== compile coupler:'
84   cd build_cpl   cd build_cpl
85   echo ' --- genmake2 (cpl):'   echo ' --- genmake2 (cpl):'

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22