/[MITgcm]/MITgcm/tools/remove_comments_sed
ViewVC logotype

Contents of /MITgcm/tools/remove_comments_sed

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


Revision 1.3 - (show annotations) (download)
Sun Jan 31 23:27:06 2016 UTC (3 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, HEAD
Changes since 1.2: +9 -4 lines
add a hack for recent version of OpenMPI (shipped with FC.23): comment out
 the new header file "mpif-sizeof.h" which causes problems to TAF

1 /^$/d
2 /^C\ /d
3 /^c\ /d
4 /^C-/d
5 /^c-/d
6 /^C=/d
7 /^c=/d
8 /^C\*/d
9 /^c\*/d
10 /^\*/d
11 /^C#/d
12 /^c#/d
13 /^CBOP/d
14 /^CEOP/d
15 /^CXXX/d
16 /^Ccnh/d
17 /^Cph/d
18 /^cph/d
19 /^CEH3/d
20 /^ceh3/d
21 /^CML/d
22 /^cml/d
23 /^Cml/d
24 /^cdm/d
25 /^Cdm/d
26 /^crg/d
27 /^Crg/d
28 /^cgg/d
29
30 # This is a growing list of which comments lines to remove from a file
31 # in order to reduce the file size of ad_input_code.f. The first one is
32 # for empty lines.
33 # We want to remove all comments (=lines starting with C,c,*), but
34 # compiler directives also start with a C, in particular CADJ/cadj/Cadj/cADJ,
35 # and absolutely must remain in the file.
36
37 #- A hack for recent OpenMPI (v1.8.8, shipped with FC.23) version of 'mpif.h'
38 # which now contains a new header file: mpif-sizeof.h that relies on module
39 # "iso_fortran_env", causing TAF to panic ; try to comment out this header file
40 s/^ include 'mpif-sizeof.h'$/c include 'mpif-sizeof.h'/

  ViewVC Help
Powered by ViewVC 1.1.22