Question: I am trying to run a Perl script that changes MCNP ACE xsdir library to SERPENT xsdata libray : . . . . . .

I am trying to run a Perl script that changes MCNP ACE xsdir library to SERPENT xsdata libray : ................
if ($#ARGV !=0)
{
printf("
Usage:
xsdirconvert.pl input >> output
");
printf("Where: input is MCNP xsdir file
");
printf(" output is Serpent directory file
");
exit;
}
# Check that input file exists:
if (!(-e "$ARGV[0]"))
{
printf("
MCNP xsdir file \"%s\" does not exist.
", $ARGV[0]);
exit;
}.....................
My input file is sss_jeff311u.xsdir with the following lines:
~/home/Serpent2/Serpent2xsdata/jeff311/acedata
atomic weight ratios
10010.999167
10021.996800
10032.989596
2.......etc
1001.03c: ACE file "~/home/Serpent2/Serpent2xsdata/jeff311/acedata/1001JEF311.ace" does not exist.
1001.06c: ACE file "~/home/Serpent2/Serpent2xsdata/jeff311/acedata/1001JEF311.ace" does not exist.
1001.09c: ACE file "~/home/Serpent2/Serpent2xsdata/jeff311/acedata/1001JEF311.ace" does not exist.
The ACEDATA folder does exists with the libary files

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!