3 rm -rf ../collect_synom
4 mkdir -p ../collect_synom
5
6 handle_result () {
7 if [ $1 -ne 0 ]; then
8 echo "Job Failed; $2"
9 echo "Job Failed; $2" | mail -s "lsi follow failed" mailadd
10 exit -1
11 fi
12
13 }
14
15 pscp -h host -t 0 "collect.sh" $TARGET_ROOT
16 #handle_result $? "copy collect.sh"
17
18 pssh -h host -p 10 -e error_out -t 0 "cd $TARGET_ROOT; sh collect.sh"
19 #handle_result $? "copy lsi data"
20
3 export SLEPC_DIR=/da1/search/hpc_install/slepc
4 export C_INCLUDE_PATH=/da1/search/hpc_install:$C_INCLUDE_PATH
5 includedir=/da1/search/hpc_install/mpich/include
6 extra_includes=$C_INCLUDE_PATH
7 export LD_LIBRARY_PATH=/da1/search/hpc_install/mpich/lib:$LD_LIBRARY_PATH
4 mkdir -p ../collect_synom
5
6 handle_result () {
7 if [ $1 -ne 0 ]; then
8 echo "Job Failed; $2"
9 echo "Job Failed; $2" | mail -s "lsi follow failed" mailadd
10 exit -1
11 fi
12
13 }
14
15 pscp -h host -t 0 "collect.sh" $TARGET_ROOT
16 #handle_result $? "copy collect.sh"
17
18 pssh -h host -p 10 -e error_out -t 0 "cd $TARGET_ROOT; sh collect.sh"
19 #handle_result $? "copy lsi data"
20
21 scp w-i100.net:/da1/search/lsi/synom/bin/sigma.res ../collect_synom
inc_bashrc
1 export PATH=/da1/search/hpc_install/mpich/bin:$PATH
2 export PETSC_DIR=/da1/search/hpc_install/petsc3 export SLEPC_DIR=/da1/search/hpc_install/slepc
4 export C_INCLUDE_PATH=/da1/search/hpc_install:$C_INCLUDE_PATH
5 includedir=/da1/search/hpc_install/mpich/include
6 extra_includes=$C_INCLUDE_PATH
7 export LD_LIBRARY_PATH=/da1/search/hpc_install/mpich/lib:$LD_LIBRARY_PATH