Child pages
  • Hyak FDTD Solutions
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Trial License Proxy Setup

The trial license of FDTD Solutions requires access to the Internet. The following steps set it up so this is possible. You must first set up X11 forwarding on your workstation before proceeding.

 login$ qsub -l nodes=1:ppn=16 -I -V
 node$ module load fdtd_8.12
 node$ fdtd-solutions

A dialog box will be displayed stating that validating the trial license has failed and ask if you'd like to connect through a proxy. Click the Yes button. Another dialog box will appear. Click the Manually Configure Proxy Settings radio button. Enter globus1.hyak.local into the Hostname field and 3128 into the Port field. Click the Ok button. FDTD Solutions will start.

Sample Parallel Job Script

You will need to change parameters which are bold and red for your job. Depending on your application, you may need to change parameters which are bold and blue. In most cases, you should not change any text that is not colored.

 #\!/bin/bash
 ##
 ## \!\! _NEVER_ remove # signs from in front of PBS or from the line above \!\!
 ##
 ## RENAME FOR YOUR JOB
 #PBS -N <font color=red>*test-fdtd*</font>
 ## EDIT FOR YOUR JOB
 ## Request 16 CPUs (cores) on 2 nodes, 32 total cores
 #PBS -l nodes=<font color=red>*2*</font>:ppn=<font color=red>*16*</font>,mem=<font color=red>*22gb*</font>
 ## WALLTIME DEFAULTS TO ONE HOUR - ALWAYS SPECIFY FOR LONGER JOBS
 ## If the job doesn't finish in 10 minutes, cancel it
 #PBS -l walltime=<font color=red>*00:10:00*</font>
 ## EDIT FOR YOUR JOB
 ## Put the output from jobs into the below directory
 #PBS -o <font color=red>*/gscratch/GROUPNAME/USERNAME/JOB_DIR*</font>
 ## Put both the stderr and stdout into a single file
 #PBS -j oe
 ## EDIT FOR YOUR JOB
 ## Specify the working directory for this job
 #PBS -d <font color=red>*/gscratch/GROUPNAME/USERNAME/JOB_DIR*</font>
 ## Some applications, particularly FORTRAN applications require
 ##  a larger than usual data stack size. Uncomment if your
 ##  application is exiting unexpectedly.
 #ulimit -s unlimited
  
 ## Disable regcache
 export MX_RCACHE=0
 ### Debugging information
 ### Include your job logs which contain output from the below commands
 ###  in any job-related help requests.
 # Total Number of processors (cores) to be used by the job
 HYAK_NPE=$(wc -l < $PBS_NODEFILE)
 # Number of nodes used
 HYAK_NNODES=$(uniq $PBS_NODEFILE | wc -l )
 echo "**** Job Debugging Information ****"
 echo "This job will run on $HYAK_NPE total CPUs on $HYAK_NNODES different nodes"
 echo ""
 echo "Node:CPUs Used"
 uniq -c $PBS_NODEFILE | awk '\{print $2 ":" $1\}'
 echo "SHARED LIBRARY CHECK"
 ldd `which fdtd-engine-impi-lcl`
 echo "ENVIRONMENT VARIABLES"
 set
 echo "**********************************************"
 ### End Debugging information
 # Prevent tasks from exceeding the total RAM of the node
 # Requires HYAK_NPE and HYAK_NNODE or HYAK_TPN to be set.
 HYAK_TPN=$((HYAK_NPE/HYAK_NNODES))
 NODEMEM=`grep MemTotal /proc/meminfo | awk '\{print $2\}'`
 NODEFREE=$((NODEMEM-2097152))
 MEMPERTASK=$((NODEFREE/HYAK_TPN))
 ulimit -v $MEMPERTASK
  
 module load icc_15.0.3-impi_5.0.3
 module load fdtd_8.12
 ###
 # EDIT FOR YOUR JOB
 #
 mpiexec.hydra -bootstrap rsh -rmk pbs fdtd-engine-impi-lcl *<font color=red>inputfile.fsp*</font>
  • No labels