|
Home > Help Files >
Software Applications >
Mocup
Mocup
Description:
| Mocup is usually used in conjunction with PVM and MCNP and Origen. Mocup will: Run mcnp for each input file; Run mcnpPRO, origenPRO, and compPRO on the output; Run origen.ex |
Installed on
|
linux cluster
Documentation
- Get Mocup source from someone.
- Create a master MOCUP run file:
unix%> cat > GO
#!/bin/csh -x
/usr/local/bin/mocup.run inp 1 1s 18
foreach i (2 3)
/usr/local/bin/mocup.run inp ${i} 1 18
end
^D (Control-D)
18 is the number of computers you want to run this on. It can be a big number. The actual number of computers used depends on how many machines you have added to pvm. You can also change the {2 3} line to add more files.
- unix%> chmod 700 GO
- Create the file origen.ex
unix%> cat > origen.ex
#!/bin/csh -x
#uncomment the following if you want to use o2_fast rather than o2_therm
#alias origen /usr/local/bin/o2_fast
setenv libdir /usr/local/lib/origen22
ln -s $1.inp TAPE5.INP
ln -s $1.sup TAPE3.INP
cat $libdir/$2.lib $libdir/$3.lib > TAPE9.INP
ln -s $libdir/$4.LIB TAPE10.INP
origen
cat TAPE12.OUT TAPE6.OUT > $1.out
cat TAPE13.OUT TAPE11.OUT > $1.u11
mv TAPE7.OUT $1.pch
mv TAPE15.OUT $1.dbg
mv TAPE16.OUT $1.vxs
mv TAPE50.OUT $1.ech
rm -f TAPE*.INP;
rm -f TAPE*.OUT;
^D (Control-D)
- Set up & start PVM
- unix%> ./GO
- Mocup should start running.
| |
|
|