Visual Editor Banner
About Us Training Software Support
Main Page Visual Editor Training The Visual Editor Get the Visual Editor
Company Info Penelope/PenGUIn Workshops Nucwiz Help, Support, Known Bugs
Email Randy Schwarz MCNP6® Intermed. Workshops Penelope/PenGUIn Free Downloads
Vised Gallery Onsite Training Other Software C++ Tips and Tricks
Vised Video Demos. Consulting Gamma Spectroscopy Tools  

Fixing the Material Library Files (stndrd.n, stndrd.p)

This page applies to version CCC-740.

The material libraries contain a number of common materials that have been formatted for MCNP/MCNPX.  This library allows for the easy inclusion of common materials in your input file.

 

With the default installation configuration, the Visual Editor does not know where the material library files are.  The standard material libraries are not available when selecting Data->Materials->Library. 

 

To find the path to these libraries the Visual Editor will:

  1. use the DATAPATH environment variable; 

  2. search the local directory;

  3. finally it will search for the directory in the 'vised.defaults' file

There are several ways to solve this problem.  We recommend using the first approach, but other options are available as described.

  1. In the current release of the Visual Editor, the material files are included in the

     “…\LANL\MCNP5\utilities\VISUAL_EDITOR”

     directory.  In the current release of the Visual Editor is expecting them to be in the 'LANL\Vised' directory.   So, the ideal solution is to create a 'Vised directory under the LANL directory and place the stndrd.n and stndrd.p files there and the Visual Editor will find the files using method 1 above.

    1. In Windows Explorer, Create a 'Vised' directory under LANL

    2. Copy the material files (stndrd.n and stndrd.p) over from the “…\LANL\MCNP5\utilities\VISUAL_EDITOR” directory (the extensions may not show up in your Windows Explorer).

    3. Paste the copied material libraries into the LANL\vised directory you created.

  2. Alternatively, you can place these stndrd.n and stndrd.p files in your Visual Editor development directory 'C:\vised' and the Visual Editor will find the material files when searching the local directory that contains the Visual Editor executable.

  3. You can create a 'vised.defaults' file that sets the path to the MCNP5\bin directory and then place the vised.defaults file in the development directory 'C:\vised' or any other directory you will be reading input files from.  To create the vised.defaults file, select Data->Materials and then select the Files menu option, enter the full file pathnames and then select apply.