source: trunk/LMDZ.GENERIC/utilities/correlatedk_utilities/prekspectrum

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

utilities directory cleaning

  • Property svn:executable set to *
File size: 613 bytes
RevLine 
[253]1#!/bin/bash
2
[264]3#DWORK_DIR=$RAD/CORRELATEDK/premier_essai
[253]4
[264]5DWORK_DIR=$PWD
6KSPEC_DIR=$KSPECTRUM/kspec_run
7
[253]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
[264]19make_composition_gen.exe
[253]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.