Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What are financial assets and financial liabilities?

Answered: 1 week ago

Question

Explain the various methods of job evaluation

Answered: 1 week ago

Question

Differentiate Personnel Management and Human Resource Management

Answered: 1 week ago

Question

Describe the functions of Human resource management

Answered: 1 week ago

Question

discuss the importance of ethical practice for the HR profession;

Answered: 1 week ago

Question

reference your work in a credible way.

Answered: 1 week ago

Question

read in a critically evaluative way;

Answered: 1 week ago