Plot Function on DAGMCNP

26 views
Skip to first unread message

Kevin McLaughlin

unread,
May 12, 2022, 5:25:17 PM5/12/22
to DAGMC Users and Collaborators
Hi all,

I trying to recompile DAGMC with the MCNP plotter function, as well as several other options. My cmake command is 

$ cmake ../src -DMOAB_DIR=$HOME/dagmc_bld/MOAB -DBUILD_MCNP6=ON -DBUILD_MCNP_MPI=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DBUILD_MCNP_PLOT=ON -DBUILD_MCNP_PYNE_SOURCE=ON -DBUILD_TALLY=ON

However after building and installing, when I run an mcnp6 command to plot such as mcnp6 ip i=input.txt, I get the message:

 bad trouble in subroutine exemes of mcnp
 the plot feature is not included in this compilation.

Is there some other method by which I access the plotter using DAGMCNP? Apologies if this is documented somewhere, I couldn't find it.

Thanks,
Kevin

tim....@wisc.edu

unread,
May 13, 2022, 11:25:47 AM5/13/22
to DAGMC Users and Collaborators
Hi Kevin,
It looks like you are trying to build the mpi version of DAG-MCNP with the plotter.  While the MCNP build instructions indicate that this is possible, I usually do not build the mpi version of DAG-MCNP with the plotter since often the mpi versions I run are on a cluster.

The serial version of DAG-MCNP builds fine and works with the plotter (both geometry plotting and fmesh tally plotting).  Note that celllines are not shown and surface labels also are not shown.  I have attached a geometry plot of the UW Blanket Lite version of ITER.
Tim
viewblliteupdate302py0cadgeometry.png

Kevin McLaughlin

unread,
May 13, 2022, 6:38:03 PM5/13/22
to DAGMC Users and Collaborators
Thanks Tim! I was able to get the plotter working!

Two follow up questions related to your response: 
  1. Is there some other mechanism by which you could display the surface labels? I'm interested in doing surface tallies but am unsure which  numbers are getting assigned to the various surfaces. Or is it just too cumbersome in DAGMCNP?
  2. Is there no OMP threading in DAGMCNP? When I try I get the message " bad trouble in subroutine exemes of mcnp. OMP threading is unavailable in this compilation." Or am I missing a cmake flag?
Again, thanks for the help!


Paul Wilson

unread,
May 16, 2022, 6:22:07 PM5/16/22
to dagmc...@googlegroups.com

Hello Kevin,

 

If you’ve prepared your models in Cubit, you should be able to refer to the surface number assigned in Cubit as the ID for surface.

 

Unfortunately, OMP threading is a feature that we didn’t quite manage to verify with MCNP.

 

Paul

 

-- 
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul P.H. Wilson (he/him/his)
Grainger Professor of Nuclear Engineering
Chair, Department of Engineering Physics
o: 608-263-0807, c: 608-469-9615
paul....@wisc.edu
153 Engineering Research Bldg
1500 Engineering Dr, Madison, WI 53706
Zoom Meeting Room: https://uwmadison.zoom.us/j/6082630807
Zoom Phone Access: +1-929-205-6099, Access code: 6082630807

Computational Nuclear Engineering Research Group

 

--
You received this message because you are subscribed to the Google Groups "DAGMC Users and Collaborators" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dagmc-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dagmc-users/60f7c519-81ee-4164-856e-58323c13f541n%40googlegroups.com.

Andrew Davis

unread,
May 31, 2022, 5:01:28 AM5/31/22
to dagmc...@googlegroups.com
Hi All

I'm fairly sure we struggled even getting threading working in a non-DAGMC MCNP build, with a lot of back and forth with LANL regarding supported compilers and flags, and I'm pretty sure, but this is some time ago, that whilst they say GCC is supported, Im fairly sure GCC wouldn't allow us to build with threaded correctly.

Happy to stand corrected. Lucas J might well remember better than me :)

Thanks

Andy

Lucas Jacobson

unread,
May 31, 2022, 10:05:28 AM5/31/22
to DAGMC Users and Collaborators
My recollection is that we were never able to get any version of MCNP (DAGMC or otherwise) to work with OMP if the gfortran compiler was used. I have only ever been able to compile native MCNP with OMP enabled with the Intel fortran compiler. It may be possible to get DAG-MCNP to compile with the OMP flags on if Intel fortran is used, but since we never added OMP capability to DAGMC, the executables will not actually allow for OMP threading on DAGMC geometries.
Reply all
Reply to author
Forward
0 new messages