/[MITgcm]/MITgcm/tools/adjoint_options/adjoint_staf_mpi
ViewVC logotype

Annotation of /MITgcm/tools/adjoint_options/adjoint_staf_mpi

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


Revision 1.12 - (hide annotations) (download)
Fri Oct 1 14:44:34 2010 UTC (13 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.11: +4 -4 lines
TAF flag -v1 to revert to TAF version 1.
Temporary fix, since permanent fix provided by Fastopt did not work
(and was based on hopelessly out-of-date code).

1 heimbach 1.1 #!/bin/bash
2     #
3 heimbach 1.12 # $Header: /u/gcmpack/MITgcm/tools/adjoint_options/adjoint_staf_mpi,v 1.11 2009/06/19 21:26:22 ce107 Exp $
4 heimbach 1.1 # $Name: $
5     #
6    
7     # This file contains the default settings for the adjoint and
8     # tangent-linear compilers. If you need to change these settings,
9     # please make a separate (local) copy of this file.
10    
11     # TAMC=/data43/ralf/tamc/tamc
12     # TAF=~fastopt/bin/taf
13     # STAF=staf
14    
15     TAF=staf
16     TAMC=tamc
17    
18     AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log'
19 heimbach 1.12 AD_TAF_FLAGS="-v1 -mpi -include './mpi_headers/mpif_parameters.h ./mpi_headers/mpif.h ./mpi_headers/mpiof.h' -I./mpi_headers/ -reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log"
20 heimbach 1.1 FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log'
21 heimbach 1.12 FTL_TAF_FLAGS='-v1 -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log'
22 heimbach 1.1 SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log'
23 heimbach 1.12 SVD_TAF_FLAGS='-v1 -reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log'
24 heimbach 1.1
25     DIFF_FLAGS="-toplevel 'the_main_loop' \
26     -input 'xx_theta_dummy \
27     xx_salt_dummy \
28     xx_tr1_dummy \
29     xx_hflux_dummy \
30     xx_sflux_dummy \
31     xx_tauu_dummy \
32     xx_tauv_dummy \
33     xx_atemp_dummy \
34     xx_aqh_dummy \
35 heimbach 1.2 xx_precip_dummy \
36 heimbach 1.3 xx_swflux_dummy \
37 heimbach 1.4 xx_swdown_dummy \
38 heimbach 1.7 xx_lwflux_dummy \
39     xx_lwdown_dummy \
40     xx_evap_dummy \
41     xx_snowprecip_dummy \
42     xx_apressure_dummy \
43     xx_runoff_dummy \
44 heimbach 1.1 xx_uwind_dummy \
45     xx_vwind_dummy \
46     xx_obcsn_dummy \
47     xx_obcss_dummy \
48     xx_obcsw_dummy \
49     xx_obcse_dummy \
50     xx_sst_dummy \
51     xx_sss_dummy \
52 heimbach 1.6 xx_depth_dummy \
53 heimbach 1.1 xx_diffkr_dummy \
54     xx_kapgm_dummy \
55 gforget 1.9 xx_kapredi_dummy \
56     xx_bottomdrag_dummy \
57 heimbach 1.1 xx_efluxy_dummy \
58 heimbach 1.5 xx_efluxp_dummy \
59     xx_edtaux_dummy \
60     xx_edtauy_dummy \
61     xx_uvel_dummy \
62     xx_vvel_dummy \
63     xx_etan_dummy \
64 heimbach 1.8 xx_siarea_dummy \
65     xx_siheff_dummy \
66     xx_sihsnow_dummy \
67 heimbach 1.5 xx_relaxsst_dummy \
68     xx_relaxsss_dummy' \
69 heimbach 1.1 -output 'fc'"
70    
71     AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
72     AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
73    
74     FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
75     FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
76    
77     SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
78     SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22