Difference: OpenFoam (8 vs. 9)

Revision 92012-10-16 - GiuseppeLaRocca

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
se
Line: 463 to 463
 

Creation of a new MPI wrapper

Changed:
<
<
Add in /opt/i2g/etc/mpi-start/ the definition of a new MPI wrapper for OpenFoam-2.0.1.
>
>
Add in /etc/mpi-start/ the definition of a new MPI wrapper for OpenFoam-2.0.1.
 This wrapper has to be replicated in all the LSF client nodes.


Line: 613 to 613
 echo "+ Done at "`date`
Deleted:
<
<

Submission

$ glite-wms-job-submit -a -r grid012.ct.infn.it:2119/jobmanager-lcglsf-short 
                                        -e https://wmsdecide.dir.garr.it:7443/glite_wms_wmproxy_server 
                                        -o jobID 
                                         openfoam-2.0.1.jdl 

Connecting to the service https://wmsdecide.dir.garr.it:7443/glite_wms_wmproxy_server

===================== glite-wms-job-submit Success =====================
The job has been successfully submitted to the WMProxy
Your job identifier is:
https://lb-4.dir.garr.it:9000/vUAJk3Sq3xBnviahz7HSqg
The job identifier has been saved in the following file:
/home/larocca/OpenFoam-2.0.1/jobID
=====================================================================

Checking Status

$ glite-wms-job-status --noint -i jobID

====================== glite-wms-job-status Success ====================
BOOKKEEPING INFORMATION:
Status info for the Job : https://lb-4.dir.garr.it:9000/vUAJk3Sq3xBnviahz7HSqg
Current Status:     Done (Success)
Exit code:              0
Status Reason:     Job terminated successfully
Destination:           grid012.ct.infn.it:2119/jobmanager-lcglsf-short
Submitted:             Fri Dec  2 16:59:56 2011 CET
=====================================================================

Downloading Results


$ glite-wms-job-output --dir . --noint -i jobID

Connecting to the service https://wmsdecide.dir.garr.it:7443/glite_wms_wmproxy_server
===============================================================================
			JOB GET OUTPUT OUTCOME
Output sandbox files for the job:
https://lb-4.dir.garr.it:9000/vUAJk3Sq3xBnviahz7HSqg
have been successfully retrieved and stored in the directory:
/home/larocca/OpenFoam-2.0.1/larocca_vUAJk3Sq3xBnviahz7HSqg
================================================================================
 

JDL & script files (parallel mode)

This is an example of JDL file that can be used for testing OpenFoam in parallel mode:

Line: 676 to 625
 Arguments = "icoFoam OPENMPI_OPENFOAM"; StdOutput = "mpi-start.out"; StdError = "mpi-start.err";
Changed:
<
<
InputSandbox = {"mpi-start-wrapper.sh","bei-hooks.sh","cavity.tar.gz"};
>
>
InputSandbox = {"mpi-start-wrapper.sh","bei-hooks.sh"};
 OutputSandbox = {"mpi-start.err","mpi-start.out","results.tgz"}; Environment = {"I2G_MPI_PRE_RUN_HOOK=./bei-hooks.sh","I2G_MPI_POST_RUN_HOOK=./bei-hooks.sh"}; Requirements = Member("VO-gridit-OpenFoam-2.0.1",other.GlueHostApplicationSoftwareRunTimeEnvironment);
Line: 763 to 712
  echo echo "=[PRE_RUN_HOOK] Started" echo "- Downloading tar archive from SE..."
Changed:
<
<
#echo lcg-cp --vo $OUTPUT_VO $OUTPUT_SE/pitz.tgz file:$PWD/pitz.tgz #lcg-cp --vo $OUTPUT_VO $OUTPUT_SE/pitz.tgz file:$PWD/pitz.tgz
>
>
echo lcg-cp --vo $OUTPUT_VO $OUTPUT_SE/cavity.tar.gz file:$PWD/cavity.tar.gz lcg-cp --vo $OUTPUT_VO $OUTPUT_SE/cavity.tar.gz file:$PWD/cavity.tar.gz
  tar zxf cavity.tar.gz echo;echo "- Summarizing disk usage of each FILE, recursively for directories" du -h cavity
Line: 787 to 736
  # copy the results data on master node CMD="scp -r $1:\"$PWD\" .."
Deleted:
<
<
#CMD="scp -r $1:\"$PWD\" ./$1"
  echo "- Copying file from remote host [" $1 "]" echo $CMD $CMD
Line: 795 to 743
  post_run_hook () { echo "=[POST_RUN_HOOK] Started"
Deleted:
<
<
#echo "post_run_hook called"
  if [ "x$MPI_START_SHARED_FS" == "x0" ] ; then echo "- Gathering output results from remote hosts [FS=0]"
Line: 810 to 757
  echo; echo "- Listing the contents of directories in a tree-like format" tree -L 3 echo "- Packing the final results data"
Deleted:
<
<
#cd $OUTPUT_DIR
  cd .. tar czf $OUTPUT_ARCHIVE $OUTPUT_DIR if [ $? -eq 0 ] ; then
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback