/[lmdze]/trunk/Scripts/preprocess.sh
ViewVC logotype

Annotation of /trunk/Scripts/preprocess.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (hide annotations)
Wed Feb 27 13:16:39 2008 UTC (16 years, 3 months ago) by guez
File MIME type: application/x-sh
File size: 653 byte(s)
Initial import
1 guez 3 # This is a script in Bash.
2    
3     trap 'exit 1' ERR
4    
5     ##set -x
6    
7     cd ~/Documents/Informatique_fonctionnement/Programs/LMDZ4_program/Pre-processed
8    
9     for director in bibio dyn3d filtrez phylmd
10     do
11     cd $director
12     rm -f *
13     cd ..
14     done
15    
16     cd ~/Documents/Informatique_fonctionnement/Programs/LMDZ4_program/libf
17    
18     for director in bibio dyn3d filtrez phylmd
19     do
20     cd $director
21     for filename in *.F?(90)
22     do
23     echo $filename
24     suffix90=${filename##*.F}
25     base=${filename%.*}
26     g95 -E -DCPP_PHYS -DCPP_IOIPSL -I../grid -I../dyn3d -I../phylmd \
27     -I/home/guez/netcdf-3.6.1/include $filename \
28     > ../../Pre-processed/$director/$base.f$suffix90
29     done
30     cd ..
31     done

Properties

Name Value
svn:eol-style native
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21