MCNP5 Installation Help for Scientific Linux & CentOS | Rocks Cluster Guide

Click For Summary
SUMMARY

The forum discussion focuses on the installation and compilation of MCNP5 on Scientific Linux and CentOS within a Rocks Cluster environment. The user initially faced challenges compiling the MPI version of MCNP5 due to errors in the dotcomm modules, attributed to poor comparison statements and improper use of switch statements. After troubleshooting, the user successfully compiled the software by changing the default MPI environment on the Rocks Cluster. The successful compilation utilized GCC 4.4.7 and MPICH2-1.4.1p1.

PREREQUISITES
  • Familiarity with MCNP5 software and its versions
  • Understanding of Rocks Cluster environment
  • Knowledge of GCC 4.4.7 compiler
  • Experience with MPICH2-1.4.1p1 for MPI implementations
NEXT STEPS
  • Research troubleshooting techniques for MPI compilation errors in MCNP5
  • Learn about configuring Rocks Cluster for optimal MPI performance
  • Explore advanced features of GCC 4.4.7 for better compatibility with MCNP5
  • Investigate best practices for writing comparison and switch statements in Fortran
USEFUL FOR

Researchers, physicists, and computational scientists who are working with MCNP5 on Linux-based clusters, particularly those using Scientific Linux or CentOS.

junaidarshad
Messages
7
Reaction score
0
Hello,

Is there anyone who has any experience of installing (compiling) MCNP5 on Scientific Linux or CentOS?
Previously I had used MCNP5 on Windows. But Recently I thought of moving to Linux based cluster.

But I am having difficulty in compiling MCNP5 on Linux. The environment that I am using for clustering is Rocks Cluster.

Regards,
 
I had some success in compiling Sequential version of MCNP5 on CentOS.
But MPI version is giving errors. And it looks like all the errors are in dotcomm modules and all the error are either because of poor comparison statements OR because of improper use of Switch statements.
I have attached a screenshot of Terminal.
Any help in this regard will be appreciated.

Regards,

https://i.imgsafe.org/7eb92b50d5.jpg
 
Last edited by a moderator:
junaidarshad said:
I had some success in compiling Sequential version of MCNP5 on CentOS.
But MPI version is giving errors. And it looks like all the errors are in dotcomm modules and all the error are either because of poor comparison statements OR because of improper use of Switch statements.
I have attached a screenshot of Terminal.
Any help in this regard will be appreciated.

Regards,

https://i.imgsafe.org/7eb92b50d5.jpg

The image is broken.
I also installed mcnp5.mpi on linux and got errors at testing phase.
But I guess our mistakes are different but maybe I can help you.
 
wangm23456 said:
The image is broken.
I also installed mcnp5.mpi on linux and got errors at testing phase.
But I guess our mistakes are different but maybe I can help you.

Thanks, I solved my problem. It was because of the default MPI environment loaded on Rocks Cluster.
Once I changed that it compiled successfully.
 
junaidarshad said:
Thanks, I solved my problem. It was because of the default MPI environment loaded on Rocks Cluster.
Once I changed that it compiled successfully.
what compiler and mpi you use?
 
wangm23456 said:
what compiler and mpi you use?

I used the GCC 4.4.7 and MPICH2-1.4.1p1.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
10K
Replies
18
Views
8K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
10
Views
5K
  • · Replies 12 ·
Replies
12
Views
5K
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K