source: trunk/LMDZ.TITAN/utilities/correlatedk_utilities/prekspectrum @ 3527

Last change on this file since 3527 was 1512, checked in by mturbet, 9 years ago

utilities directory cleaning

  • 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.