Compilation-Installation Problems

Compiler issues (Intel compiler, mpicc, etc.), data libraries and everything needed to get Serpent running is discussed here
Post Reply
shaposhy
Posts: 3
Joined: Wed Jul 21, 2010 11:01 am

Compilation-Installation Problems

Post by shaposhy » Wed Jul 21, 2010 11:41 am

Problem installing Seprent with Parallel Calculation Mode

We performed two sets of compilation:

The first one was using the gcc compiler

The second one was using the mpicc compiler

In both cases the compilation was successful.
However, the Parallel Calculation Mode was not available.

The following text was the output during the compilation

It is important to mention that we use LAM MPI.


The question is: why the parallel Calculation Mode is not available?



First compilation: Using gcc
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
make
gcc aburnoutput.o addbuf.o addbufgcu.o addburnisotopes.o adddaughters.o addfixed.o addmatrixiso.o addpts.o addstat.o adduresepts.o adjustmajorant.o allochistory.o alpha.o angulardistribution.o atboundary.o atof.o atoi.o azirot.o binarysearch.o broadcrosssection.o bufmean.o bufn.o bufval.o burncycle.o burnmaterials.o calcfissmass.o calcspheredistance.o calcvolumes.o capture.o cellcount.o chebyshev.o checkmatrixes.o checkpointer.o checkvalue.o collectparalleldata.o collectresults.o complex.o constructdepmatrix.o copyneutron.o createlists.o createuniverses.o crs_matrix.o depoutput.o detectoroutput.o disperse.o dopplerbroad.o elasticscattering.o endfcolf.o endfcoli.o energydistribution.o expandxs.o expmburn.o finalizempi.o finalizexs.o findcellboundaries.o findcell.o findgridindexes.o findlimbin.o findnestcell.o findnubarindex.o findtargetiso.o findtotxslim.o fission.o freemem.o gaussian_elimination.o generalttachain.o getallpts.o getdetbin.o getimportantpts.o getlatticeindexes.o getlinenumber.o getnubar.o getparams.o gettext.o getxs.o historyoutput.o histptr.o inelasticscattering.o initdata.o initmpi.o inlattice.o inparticlefuel.o inpbgeom.o interpolatedata.o isotozai.o isotropicdirection.o iteratekeff.o leak.o levelscattering.o maincycle.o main.o materialxs.o matlaboutput.o matrixexponential.o maxwellenergy.o meandistance.o mean.o mergepts.o mpitransfer.o nearestparticle.o nearestpbsurf.o nearestsurface.o nextcollision.o nextword.o nubardata.o nxn.o optimizedt.o parsecommandline.o plotgeometry.o plotmesh.o plotxs.o popcontrol.o preparestats.o printcompositions.o printcycleoutput.o printdepmatrix.o printdepvals.o printoutput.o printpbdata.o printtitle.o printvalues.o printwarnings.o processburnmat.o processdetectors.o processgeometry.o processmaterials.o processxsdata.o puttext.o randf.o readacefiles.o readpbgeometry.o readdirectoryfiles.o readfissyields.o readinput.o readtextfile.o reallocmem.o recordsrc.o relerr.o rejectparticle.o resetoption.o resetstat.o resettimer.o sampledn.o sampleenergy.o samplemu.o samplenu.o samplereaction.o samplesrc.o sampleuresfactor.o scoreadf.o scoredetectors.o scoreentropy.o scoremesh.o score.o scorescattering.o setdepletionparameters.o setdepstep.o setenergygrids.o setfissionyields.o setmatrixindexes.o setoption.o shareinputdata.o sharematerialdata.o simplettachain.o sortarray.o sortlists.o sortmatrixindexes.o stackpoint.o starttimer.o stddev.o stoptimer.o storecompositions.o surfacedistance.o systemstat.o targetvelocity.o testcell.o testdosfile.o testgeometry.o testsphere.o testsurface.o testxsdata.o thingrid.o timerval.o timestr.o transport.o ttaburn.o ttaburnvar.o ttaloop.o ttaloopvar.o updateuresmat.o updateuresxs.o uresdata.o zaitoiso.o -lm -lgd -o sss

/storage/users/shaposhy-13->sss -version

_ .-=-. .-==-.
{ } __ .' O o '. / -<' )--<
{ } .' O'. / o .-. O \ / .---`
{ } / .-. o\ /O / \ o\ /O /
\ `-` / \ O`-'o / \ O`-`o /
`-.-` '.____.' `.____.'

PSG2 / Serpent

A Continuous-energy Monte Carlo Reactor Physics Burnup Calculation Code

- Version 1.1.7 (November 6, 2009) -- Contact: Jaakko.Leppanen@vtt.fi

- Parallel calculation mode not available

- Geometry and mesh plotting available

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Second compilation: Using mpicc
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

make
mpicc -Wall -ansi -pedantic -DMPI -ffast-math -O3 aburnoutput.o addbuf.o addbufgcu.o addburnisotopes.o adddaughters.o addfixed.o addmatrixiso.o addpts.o addstat.o adduresepts.o adjustmajorant.o allochistory.o alpha.o angulardistribution.o atboundary.o atof.o atoi.o azirot.o binarysearch.o broadcrosssection.o bufmean.o bufn.o bufval.o burncycle.o burnmaterials.o calcfissmass.o calcspheredistance.o calcvolumes.o capture.o cellcount.o chebyshev.o checkmatrixes.o checkpointer.o checkvalue.o collectparalleldata.o collectresults.o complex.o constructdepmatrix.o copyneutron.o createlists.o createuniverses.o crs_matrix.o depoutput.o detectoroutput.o disperse.o dopplerbroad.o elasticscattering.o endfcolf.o endfcoli.o energydistribution.o expandxs.o expmburn.o finalizempi.o finalizexs.o findcellboundaries.o findcell.o findgridindexes.o findlimbin.o findnestcell.o findnubarindex.o findtargetiso.o findtotxslim.o fission.o freemem.o gaussian_elimination.o generalttachain.o getallpts.o getdetbin.o getimportantpts.o getlatticeindexes.o getlinenumber.o getnubar.o getparams.o gettext.o getxs.o historyoutput.o histptr.o inelasticscattering.o initdata.o initmpi.o inlattice.o inparticlefuel.o inpbgeom.o interpolatedata.o isotozai.o isotropicdirection.o iteratekeff.o leak.o levelscattering.o maincycle.o main.o materialxs.o matlaboutput.o matrixexponential.o maxwellenergy.o meandistance.o mean.o mergepts.o mpitransfer.o nearestparticle.o nearestpbsurf.o nearestsurface.o nextcollision.o nextword.o nubardata.o nxn.o optimizedt.o parsecommandline.o plotgeometry.o plotmesh.o plotxs.o popcontrol.o preparestats.o printcompositions.o printcycleoutput.o printdepmatrix.o printdepvals.o printoutput.o printpbdata.o printtitle.o printvalues.o printwarnings.o processburnmat.o processdetectors.o processgeometry.o processmaterials.o processxsdata.o puttext.o randf.o readacefiles.o readpbgeometry.o readdirectoryfiles.o readfissyields.o readinput.o readtextfile.o reallocmem.o recordsrc.o relerr.o rejectparticle.o resetoption.o resetstat.o resettimer.o sampledn.o sampleenergy.o samplemu.o samplenu.o samplereaction.o samplesrc.o sampleuresfactor.o scoreadf.o scoredetectors.o scoreentropy.o scoremesh.o score.o scorescattering.o setdepletionparameters.o setdepstep.o setenergygrids.o setfissionyields.o setmatrixindexes.o setoption.o shareinputdata.o sharematerialdata.o simplettachain.o sortarray.o sortlists.o sortmatrixindexes.o stackpoint.o starttimer.o stddev.o stoptimer.o storecompositions.o surfacedistance.o systemstat.o targetvelocity.o testcell.o testdosfile.o testgeometry.o testsphere.o testsurface.o testxsdata.o thingrid.o timerval.o timestr.o transport.o ttaburn.o ttaburnvar.o ttaloop.o ttaloopvar.o updateuresmat.o updateuresxs.o uresdata.o zaitoiso.o -lm -lgd -o sss
[root@sge18 src]# ./sss -version

_ .-=-. .-==-.
{ } __ .' O o '. / -<' )--<
{ } .' O'. / o .-. O \ / .---`
{ } / .-. o\ /O / \ o\ /O /
\ `-` / \ O`-'o / \ O`-`o /
`-.-` '.____.' `.____.'

PSG2 / Serpent

A Continuous-energy Monte Carlo Reactor Physics Burnup Calculation Code

- Version 1.1.7 (November 6, 2009) -- Contact: Jaakko.Leppanen@vtt.fi

- Parallel calculation mode not available

- Geometry and mesh plotting available

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




Thank you

The make clean solve the problem
Last edited by shaposhy on Thu Jul 22, 2010 3:17 pm, edited 1 time in total.

Andrei Fokau
Posts: 77
Joined: Thu Mar 25, 2010 12:25 am
Security question 2: 0
Location: KTH, Stockholm, Sweden
Contact:

Re: Compilation-Installation Problems

Post by Andrei Fokau » Wed Jul 21, 2010 2:49 pm

Do you do make clean before make?
If not, then you always use the object files compiled by gcc without mpi support.
KTH Reactor Physics (Stockholm, Sweden) neutron.kth.se

User avatar
Jaakko Leppänen
Site Admin
Posts: 2167
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: Compilation-Installation Problems

Post by Jaakko Leppänen » Wed Jul 21, 2010 7:18 pm

Did make clean solve your problem? In any case, message "Parallel calculation mode not available" can only mean that a preprocessor variable called MPI is not defined, i.e. the code is compiled without the -DMPI option.
- Jaakko

Mohamed Salah
Posts: 9
Joined: Sat Jan 21, 2012 12:28 am

Re: Compilation-Installation Problems

Post by Mohamed Salah » Sat Jan 21, 2012 1:08 am

Hi
i just have recieved the SERPENT code from RISCC-
i didn't know the how to compile it on windows, or it works only for linux and MAC OS X OS

if it can works under windows, what are the steps of installations?

i did't find any excuatble file on the submited DVD
what is the C- compiler that i should use?
i have Visual Studio 2005 is that works?,
and how i will use C- with SERPENT?

thanks
best regards
mohamed hussein - CANADA

User avatar
Jaakko Leppänen
Site Admin
Posts: 2167
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: Compilation-Installation Problems

Post by Jaakko Leppänen » Sat Jan 21, 2012 11:19 am

Serpent has been developed with the gnu C-compiler in Linux and OS X, but it has been compiled succesfully using other compilers as well (using the Intel compiler requires some minor modifications, but we are working on it at the moment). Windows operating system, however, is missing some of the standard C-libraries used by the code, and I don't think anyone has so far been able to make a succesful compilation (someone correct me if I'm wrong). This related thread may provide some assistance.
- Jaakko

sakbas
Posts: 3
Joined: Sat Sep 06, 2014 7:49 pm
Security question 1: No
Security question 2: 92

Re: Compilation-Installation Problems

Post by sakbas » Fri Nov 07, 2014 12:48 am

Hello everyone,

I tried more times to compile the Serpent 1.1.7 under windows via Cygwin. But I couldn't do that successfully. So that if it can works under windows, what are the steps of installations?

thanks a lot for your answers.

Kind Regards,
Sabahattin Akbas, USA

Post Reply