10 |
|
|
11 |
\rm -f $SRCDIR |
\rm -f $SRCDIR |
12 |
|
|
|
# A simple example |
|
|
#mkdir -p $SRCDIR |
|
|
#cd $SRCDIR |
|
|
#cp -pr ${CURDIR}/model . |
|
|
#cp -pr ${CURDIR}/pkg . |
|
|
#cp -pr ${CURDIR}/callTree.F . |
|
|
#cp -pr ${CURDIR}/callTree.header . |
|
|
|
|
13 |
# Applying it to the whole code ( first -d will only work on local 18.24.3 system ) |
# Applying it to the whole code ( first -d will only work on local 18.24.3 system ) |
14 |
#eh3 Replace CVS checkout with a soft-link |
#eh3 Replace CVS checkout with a soft-link |
15 |
#eh3 cvs -d /u/gcmpack co -d $SRCDIR -P -r $1 MITgcm > checkout.log |
#eh3 cvs -d /u/gcmpack co -d $SRCDIR -P -r $1 MITgcm > checkout.log |
19 |
echo "ERROR: please get a copy of the MITgcm code and locate it at:" |
echo "ERROR: please get a copy of the MITgcm code and locate it at:" |
20 |
echo " "`pwd`"../../../../../MITgcm" |
echo " "`pwd`"../../../../../MITgcm" |
21 |
endif |
endif |
|
#eh3 |
|
22 |
cp -fpr callTree.F $SRCDIR |
cp -fpr callTree.F $SRCDIR |
23 |
cp -fpr callTree.header $SRCDIR |
cp -fpr callTree.header $SRCDIR |
24 |
cd $SRCDIR |
cd $SRCDIR |
36 |
( cd ${CURDIR}/../F90Mapper; make ) |
( cd ${CURDIR}/../F90Mapper; make ) |
37 |
${CURDIR}/../F90Mapper/f90mapper -d thedefs $fl $hl >& mapper.log |
${CURDIR}/../F90Mapper/f90mapper -d thedefs $fl $hl >& mapper.log |
38 |
|
|
|
#cnh debugging |
|
|
#cnh exit |
|
|
|
|
39 |
# Make the calling tree hyperlinked |
# Make the calling tree hyperlinked |
40 |
# callTree.F was hand-extracted from model/src/the_model_main.F |
# callTree.F was hand-extracted from model/src/the_model_main.F |
41 |
echo "o Generating hyperlinked call tree" |
echo "o Generating hyperlinked call tree" |
58 |
#eh3 Create a "byname" directory containing soft-links that tie the symbol |
#eh3 Create a "byname" directory containing soft-links that tie the symbol |
59 |
#eh3 names to the short-URL occurance tables: |
#eh3 names to the short-URL occurance tables: |
60 |
#eh3 makeByname.pl < |
#eh3 makeByname.pl < |
61 |
|
( cd buildweb ; ${CURDIR}/create_name_links ) |
62 |
|
|
63 |
# Tar up buildweb part |
# Tar up buildweb part |
64 |
( cd buildweb ; rm vdb/tmp1; rm vdb/tmp2; tar -czvf ../web.tgz . >& /dev/null ) |
( cd buildweb ; rm vdb/tmp1; rm vdb/tmp2; tar -czvf ../web.tgz . >& /dev/null ) |