source: trunk/LMDZ.GENERIC/utilities/prekspectrum @ 937

Last change on this file since 937 was 264, checked in by aslmd, 13 years ago

LMDZ.GENERIC: (with R. Wordsworth) added a sample example in utilities named corrk_test. changes scripts in utilities so that links are more generic (provided environment variables are set)

  • Property svn:executable set to *
File size: 613 bytes
Line 
1#!/bin/bash
2
3#DWORK_DIR=$RAD/CORRELATEDK/premier_essai
4
5DWORK_DIR=$PWD
6KSPEC_DIR=$KSPECTRUM/kspec_run
7
8cd $DWORK_DIR
9
10# test for presence of k* in kspec results directory
11FILECHECK=$KSPEC_DIR/results/k001
12if [ -f $FILECHECK ]; then
13    echo -en "There is already k-data in the kspec directory "
14    echo -en $KSPEC_DIR
15    echo -en ", delete or move it before starting!\n"
16    exit 1
17fi
18
19make_composition_gen.exe
20cp composition.in $KSPEC_DIR/data/
21
22echo -en "kspectrum working directory is:\n"
23echo -en $KSPEC_DIR
24echo -en "\nNow you must submit the parallel job (>> llsubmit run_kspec)\n"
25
26cd $KSPEC_DIR
27
28exit 0
Note: See TracBrowser for help on using the repository browser.