How to run MCNPX in multiprocessing mode @ CCALI?
1. Installation
First you need to get an account @ CCALI with special access to pistoo (which is the parallel farm).
Ask xxx
.
MCNPX 2.6F has been installed thanks to Olivier Méplan (meplan@ipno.in2p3.fr), Jean-Pierre Froberger and Jean-Pierre Engel.
The installation procedure (and the associated glitches) can be found in xxx.
Thanks to Julien Dévémy (julien.devemy@in2p3.fr) from CCALI for his help to make things work.
2. Running scripts
Here are a couple of personal scripts to run MCNPX @ CCALI.
(Docs: introduction and commands, parameters)
2.1. Basic use (for debug purposes)
2.2. Parallel use
>> mcnp_multipro.pl (with optimized parameters)
Below's an automated script to create and run several input files in one go (it calls mcnp_multipro.pl)
>> mcnp_multipro_script.pl
3. Misc
3.1. Gridconv
To use the gridconv executable, one can add these lines in his/her .shellrc file:
----------------------------------------------------------------------------
function mygridconv() { source /usr/local/intel/ifort/bin/ifortvars.sh ; echo -e "mdata\n$1.mdata\ny\ny\n$1.mdat\ny\n1\ntecplot\n$1.dat\nn\nn\n3\nn\nn" | xxx/frober/v26f-Intel/bin/gridconv ; } ----------------------------------------------------------------------------
3.2. Warnings
- Your MCNP filename should not contain the '=' character and should not start by a digit.
- The complete filename length (including the pathname) should not be more than 256 characters long!
- ptrac files cannot be generated in multiprocessing mode! ('particle track output incompatible with multiprocessing.')
- For quota reason, you'd better work in /afs/in2p3.fr/throng/strasb/$(whoami)/
- Do not forget to create the file $HOME/.mpd.conf (>> echo "secretword=$($HOME/../mtrocme/public/pwgen -cnysB 20 1)" > $HOME/.mpd.conf)