Skip all navigation and jump to content Jump to site navigation Jump to section navigation.
NASA Logo - Goddard Space Flight Center + Visit NASA.gov
NASA Center for Computational Sciences
NCCS HOME USER SERVICES SYSTEMS DOCUMENTATION NEWS GET MORE HELP

 

Documentation
OVERVIEW
GENERAL SOFTWARE INFO
HALEM
DALEY AND COURANT
PALM/EXPLORE
DIRAC/JIMPF

More palm/explore links:

+ Quick Start Guide

+ Overview of System Resources

+ Filesystem Access and Policies

+ Programming Environment

+ Batch Queues

+ Software and Tools

Sample PBS Script


##=================
#PBS -S /bin/csh
##-S sets job's shell path
#PBS -N Test_PBS_Job
##-N sets job's name
#PBS -l ncpus=34,walltime=00:10:00
##-l sets job's resource list
#PBS -j oe
##-j joins the Standard error and standard output into one file.
##(separate files are generated by default)
#PBS -W group_list=computational_project
##-W specifies the Computational Project under which the job will run
and from which the cpu hours will be deducted

# By default, PBS executes your job from your home directory.
# However, you can use either the environment variable
# PBS_O_WORKDIR to change to the current working directory or
# you can declare a new variable by using setenv.

cd $PBS_O_WORKDIR
##or
##setenv my_work_dir /home0/myuserid/workdir
##cd $my_work_dir

cp ./Test_PBS_Job /g5/myuserid

cd /g5/myuserid

ls -la > PBS_output

# copy output files back to  the PBS working directory

cp PBS_output $PBS_O_WORKDIR
##or cp output $my_work_dir

exit 0


FirstGov logo + Privacy Policy and Important Notices
+ Sciences and Exploration Directorate
+ CISTO
NASA Curator: Mason Chang,
NCCS User Services Group (301-286-9120)
NASA Official: Phil Webster, High-Performance
Computing Lead, GSFC Code 606.2