|
Last change
on this file since 1443 was
264,
checked in by aslmd, 14 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 | |
|---|
| 5 | DWORK_DIR=$PWD |
|---|
| 6 | KSPEC_DIR=$KSPECTRUM/kspec_run |
|---|
| 7 | |
|---|
| 8 | cd $DWORK_DIR |
|---|
| 9 | |
|---|
| 10 | # test for presence of k* in kspec results directory |
|---|
| 11 | FILECHECK=$KSPEC_DIR/results/k001 |
|---|
| 12 | if [ -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 |
|---|
| 17 | fi |
|---|
| 18 | |
|---|
| 19 | make_composition_gen.exe |
|---|
| 20 | cp composition.in $KSPEC_DIR/data/ |
|---|
| 21 | |
|---|
| 22 | echo -en "kspectrum working directory is:\n" |
|---|
| 23 | echo -en $KSPEC_DIR |
|---|
| 24 | echo -en "\nNow you must submit the parallel job (>> llsubmit run_kspec)\n" |
|---|
| 25 | |
|---|
| 26 | cd $KSPEC_DIR |
|---|
| 27 | |
|---|
| 28 | exit 0 |
|---|
Note: See
TracBrowser
for help on using the repository browser.