Test+Problem+UNIX+Path

=Test Problem Utilites: UNIX Path= Pages: Workshop, Overview, CADAC, Data Access, Work Area Setup, **Path Setup**, Utilities, Grid Data, SPH Data, Running, Reporting, LOG

To use the binary utilities that we provide you need to add the directory with the binary files to your UNIX path. Cf. also the setup of the IDL search path.

tcsh or csh
Place the following in your .cshrc or .tchsrc file: code set path = ( ~/bin $path /gpfs-wan/projects/cadac/software/contrib/aake/codes/KITPcompare07/bin ) code (to simplify working with a private version of the utilities your private ~/bin is ahead of the public utility bin)

bash, ksh, or sh
Place this in a suitable startup file (e.g. ~/.bash_profile): code export PATH="$HOME/bin:$PATH:/gpfs-wan/projects/cadac/software/contrib/aake/codes/KITPcompare07/bin" code

OpenMP parallelism
The precompiled utilities use a modest amount of OpenMP parallelism, which helps shorten execution times in some cases. Note, however, that the read and write times may anyway exceed the raw cpu times, so the gains are often small. However, in the **mhd1024.**g2g case it is quite helpful to parallelize. To use 8 CPUs (make sure to run on **dsdirect** or **dspoe**), do code setenv OMP_NUM_THREADS 8 code and correspondingly for bash or ksh.

To make sure only one CPU is used (e.g. for debugging), do code setenv OMP_NUM_THREADS 1 code and then execute **g2g.x** normally. If you are compiling **g2g.x** yourself, make sure to activate the **PAR** option in **Config/xlf.mk** (it is on in the most recent version of the utility setup, but may have been off if you copied the source before nov. 22). The line should be code PAR  = -qsmp=omp -qnoswapomp -qnosave code