-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAGMC Compilation #11
Comments
However, due to very old kernel version on CHTC, can't use executable compiled on my systems. When we try to to run this on CHTC get the error,
Will report to CHTC |
Currently buillding gcc-4.4 and its dependent libraries on CHTC in order to bypass problem created by age of linux distro. |
GCC-4.4 did not work. Installed GCC-4.5.1 instead. After wrestling for a while, realised that the DAGMC routines are built with whichever c++ compiler that MOAB was build against. I had not updated MOAB build since I installed the newer GCC toolkit and was thus linking using older version of g++, which could not understand the fortran module name mangling of functions. Modifying the toolchain such that all were build against gcc-4.5.1, we get a successfully static build of DAGMC,
To avoid future problems like this, would it be possible for @zwelchWI to investigate the possibility of modifying Linux.gcf and makefiles appropriately such that we set CXX at compile time rather than the MOAB default. |
I will look into it asap and let you know |
There is no rush, just something to think about. |
DAG-MCNP5 is compiled successfully to a static executable and has run as expected. Had several surface and cell tallies along with a tet mesh score. Using a submit script as below
Model used was a model of ITER divertor being used for lost particle studies, faceted to 10^-3 tolerance on my local machine and then transferred files that were needed to run. |
Im going to mark this as closed unless there are any comments? |
Can we put all the input files and submission scripts necessary to recreate this into the file repo? |
Certainly can, put in as part of commit 91eab9c |
Not possible on CHTC submit node due to version of gfortran (<< 4.2) that Mendeleev used to compile the periodic table.
Compile on own machine using standard compilation, i.e.
Linked against moab that was linked against hdf5 only. When this builds objects but fails to link, use the following link statement
Should eventually find more elegant method.
The text was updated successfully, but these errors were encountered: