<div>Hello,</div><div><br></div>I wrote the mail too fast (or my google account tried to correct my text :(.<div><br></div><div>I sent <a href="http://binary.th">binary.th</a> but will try THORNLIST. Thanks.</div><div><br>
<div>By using hopper_intel.cfg I realized I need to give it the whole path, so:</div><div><br></div><div>gmake grbinary-config CACTUS_CONFIG_FILES='/global/homes/f/fiestas/Cactus/hopper-intel.cfg' thornlist='<a href="http://grbinary.th">grbinary.th</a>'<br>
<div><br></div><div>otherwise it will not find it.</div><div><br></div><div>This:</div><div><br></div><div>gmake grbinary-config CACTUS_CONFIG_FILES='hopper-intel.cfg' thornlist='<a href="http://grbinary.th">grbinary.th</a>'<br>
</div><div><br></div><div>does not work.</div><div><br></div><div>Is it normal?</div><div><br></div><div>Thanks,</div><div>Jose </div><div><br><div class="gmail_quote">On Wed, Mar 14, 2012 at 3:25 AM, Ian Hinder <span dir="ltr"><<a href="mailto:ian.hinder@aei.mpg.de">ian.hinder@aei.mpg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 14 Mar 2012, at 10:48, Jose Fiestas Iquira wrote:<br>
<br>
> As mentioned, using the configuration files located in simfactory/mdb/optionslists/ helped. And compiling with gmake worked.<br>
><br>
> The only thing it confuses me is that after<br>
><br>
> gmake binary-config thornlist='binary,th'<br>
<br>
</div>It should be THORNLIST not thornlist, and it should be <a href="http://binary.th" target="_blank">binary.th</a> not binary,th. You don't need the single quotes around the thornlist name, as it does not contain any shell-special characters.<br>
<br>
In an ideal world, Cactus would complain that you had specified an unrecognised argument (thornlist). Unfortunately, the current "make"-based system makes that impossible. There is an open ticket which would solve this problem if it was addressed: <a href="https://trac.einsteintoolkit.org/ticket/332" target="_blank">https://trac.einsteintoolkit.org/ticket/332</a>.<br>
<div class="im"><br>
> I always need to copy the binary,th in configs/binary/<br>
><br>
> and then<br>
><br>
> gmake binary<br>
><br>
> otherwise, the compiler uses all thorns in the arrangements directory, and not only the listed in <a href="http://binary.th" target="_blank">binary.th</a>. It should not, right?<br>
<br>
</div>Since cactus thinks you have not given it any thornlist, it defaults to a thornlist containing all available thorns.<br>
<br>
May I ask, why you are not using simfactory?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
><br>
> Best,<br>
> Jose<br>
><br>
><br>
> On Tue, Mar 13, 2012 at 1:25 AM, Ian Hinder <<a href="mailto:ian.hinder@aei.mpg.de">ian.hinder@aei.mpg.de</a>> wrote:<br>
><br>
> On 13 Mar 2012, at 07:57, Jose Fiestas Iquira wrote:<br>
><br>
> > Hello Ian, all,<br>
> ><br>
> > I am trying now to use gmake to create an executable using McLachlan for a<br>
> > simulation of binary coalescence.<br>
> ><br>
> > When I do:<br>
> > gmake grbinary<br>
> ><br>
> > I obtain:<br>
> > .....<br>
> > CST finished.<br>
> > /global/u1/f/fiestas/CACTUS/Cactus/arrangements/Carpet/CarpetLib/src/make.configuration.defn:5:<br>
> > *** Configuration error: The Carpet thorns require MPI. Please configure<br>
> > with MPI, or remove the Carpet thorns from the ThornList.. Stop.<br>
> > gmake: *** [grbinary] Error 2<br>
> > ..........<br>
> ><br>
> > I checked the configuration and I found following line while<br>
> > doing: gmake grbinary-config thornlist='thornlists/<a href="http://grbinary.th" target="_blank">grbinary.th</a>'<br>
> ><br>
> > ............<br>
> > Configuring without MPI<br>
> > ............<br>
> ><br>
> > So, I tried:<br>
> ><br>
> > export mpi=native<br>
> > gmake grbinary-config<br>
> ><br>
> > and<br>
> ><br>
> > - setting mpi=native in a config. file and using it<br>
> > gmake grbinary-config options='grbinary-config.txt'<br>
> ><br>
> > Initially looks OK:<br>
> ><br>
> > fiestas@hopper09:~/CACTUS/Cactus> gmake grbinarypgi-config<br>
> > options='grbinary-config-pgi'<br>
> > Cactus - version: 4.0.0<br>
> > Reconfiguring grbinarypgi.<br>
> > Adding configuration options from 'grbinary-config-pgi'...<br>
> > Setting mpi to 'native'<br>
> > Setting CC to 'mpicc'<br>
> > Setting CXX to 'mpicxx'<br>
> > End of options from 'grbinary-config-pgi'.<br>
> > ....<br>
> ><br>
> > but later I get again the message:<br>
> ><br>
> > ...........<br>
> > Configuring without MPI<br>
> > ........<br>
> ><br>
> > Am I doing something wrong?<br>
> ><br>
> > Btw, if I configure with my own thronlist and add it as above, it keeps<br>
> > reading all thorns in the arrangements directory while compiling. So, I<br>
> > copied my thornlist in configs/grbinary/ to force the compilation using my<br>
> > thornlist. Is it normal?<br>
><br>
> Hi Jose,<br>
><br>
> You have not specified an optionlist. There are a large number of variables which usually need to be set on HPC machines (compiler locations, flags, library paths, MPI paths etc). I strongly recommend that you use simfactory for this, as I believe that most of the work has already been done for the NERSC machines. If there is a problem with the configuration of simfactory on these machines, then we can help to find the problem and fix it. Building up an optionlist and submit script etc from scratch will take a lot of time if you aren't very familiar with the machine and Cactus.<br>
><br>
><br>
><br>
> ><br>
> > Thanks,<br>
> > Jose<br>
> ><br>
> ><br>
> > On Mon, Mar 12, 2012 at 4:24 AM, Ian Hinder <<a href="mailto:ian.hinder@aei.mpg.de">ian.hinder@aei.mpg.de</a>> wrote:<br>
> ><br>
> >><br>
> >> On 10 Mar 2012, at 01:41, Jose Fiestas Iquira wrote:<br>
> >><br>
> >>> Dear colleagues,<br>
> >>><br>
> >>> I was trying the last days to install an own application based on ETK in<br>
> >>> NERSC machines (Hopper/Carver), having some problems during the<br>
> >> compilation.<br>
> >>> Before trying to find the real problem, I started from scratch and<br>
> >> realize<br>
> >>> I can not even checkout ETK properly.<br>
> >>> Does somebody tried it in machines different as LONI machines since the<br>
> >>> last release? Would appreciate any experience about it.<br>
> >>> Below my steps:<br>
> >>><br>
> >>><br>
> >>> 1. GetComponents <Einstein Toolkit> (release version)<br>
> >>> curl -O <a href="https://raw.github.com/gridaphobe/CRL/master/GetComponents" target="_blank">https://raw.github.com/gridaphobe/CRL/master/GetComponents</a><br>
> >>> ..............................<br>
> >>> *183 components checked out.*<br>
> >>> * 0 components updated.*<br>
> >>> *<br>
> >>> *<br>
> >>> * Unable to process simfactory2*<br>
> >>> * Unable to process LSUThorns/QuasiLocalMeasures*<br>
> >>> * Unable to process LSUThorns/SummationByParts*<br>
> >>> * Unable to process LSUThorns/Vectors*<br>
> >><br>
> >> These are all hosted on <a href="http://svn.cct.lsu.edu" target="_blank">svn.cct.lsu.edu</a>, which we have found to be very<br>
> >> unreliable. It might be that the machine (or connection) was down when you<br>
> >> tried it. Can you try it again?<br>
> >><br>
> >> We might want to think about moving these repositories to a more reliable<br>
> >> server, for example <a href="http://svn.einsteintoolkit.org" target="_blank">svn.einsteintoolkit.org</a>.<br>
> >><br>
> >> Alternatively, it might be that there is a routing problem between NERSC<br>
> >> and CCT. Can you try<br>
> >><br>
> >> ping <a href="http://svn.cct.lsu.edu" target="_blank">svn.cct.lsu.edu</a><br>
> >><br>
> >> from one of the affected machines?<br>
> >><br>
> >> PS: your WaveDemo build fails because the wavedemo thornlist is not up to<br>
> >> date. It needs to be modified to include the Vectors thorn (see the ET<br>
> >> thornlist for an example).<br>
> >><br>
> >> The Cactus thornlists are out of date - see<br>
> >><br>
> >> <a href="https://trac.einsteintoolkit.org/ticket/663" target="_blank">https://trac.einsteintoolkit.org/ticket/663</a><br>
> >><br>
> >> and<br>
> >><br>
> >> <a href="https://trac.einsteintoolkit.org/ticket/641" target="_blank">https://trac.einsteintoolkit.org/ticket/641</a><br>
> >><br>
> >>> *<br>
> >>> *<br>
> >>> *Summary of Warnings:*<br>
> >>> *<br>
> >>> *<br>
> >>> *Could not checkout module simfactory2*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *Could not checkout module LSUThorns/QuasiLocalMeasures*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *Could not checkout module LSUThorns/SummationByParts*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *Could not checkout module LSUThorns/Vectors*<br>
> >>> *<br>
> >>> *<br>
> >>><br>
> >>> * Time Elapsed: 26 minutes, 19 seconds*<br>
> >>> ..............................................<br>
> >>><br>
> >>> 2. GetComponent <WaveDemo><br>
> >>> ./GetComponents<br>
> >>> <a href="http://cactuscode.org/documentation/tutorials/wavetoydemo/WaveDemo.th" target="_blank">http://cactuscode.org/documentation/tutorials/wavetoydemo/WaveDemo.th</a><br>
> >>><br>
> >>> * Went OK*<br>
> >>> *<br>
> >>> *<br>
> >>> 3. cd Cactus<br>
> >>> gmake WaveDemo-config<br>
> >>> gmake WaveDemo<br>
> >>><br>
> >>><br>
> >>> *------------------------------------------------------*<br>
> >>> *Warnings were generated during execution of the CST*<br>
> >>> *------------------------------------------------------*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *CST error 1:*<br>
> >>> * -> Duplicate thornname LocalReduce in CactusBase and CactusNumerical*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *CST error 2:*<br>
> >>> * -> Thorn 'CarpetLib' requires the capability 'Vectors'.*<br>
> >>> * Please add a thorn that provides 'Vectors' to your ThornList or<br>
> >>> remove 'CarpetLib' from it !*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *CST error 3:*<br>
> >>> * -> Thorn 'ML_BSSN' requires the capability 'Vectors'.*<br>
> >>> * Please add a thorn that provides 'Vectors' to your ThornList or<br>
> >>> remove 'ML_BSSN' from it !*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *CST error 4:*<br>
> >>> * -> Thorn 'ML_BSSN_O2' requires the capability 'Vectors'.*<br>
> >>> * Please add a thorn that provides 'Vectors' to your ThornList or<br>
> >>> remove 'ML_BSSN_O2' from it !*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *CST error 5:*<br>
> >>> * -> ID_BIN_BH (thorn Meudon_Bin_BH) inherits from SummationByParts*<br>
> >>> * No thorn in your current ThornList implements SummationByParts*<br>
> >>> * Either remove Meudon_Bin_BH, or add a thorn to your*<br>
> >>> * ThornList implementing SummationByParts*<br>
> >>> * Available thorns in arrangements directory implementing<br>
> >>> SummationByParts:*<br>
> >>> * LSUThorns/SummationByParts*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *CST error 6:*<br>
> >>> * -> MEUDON_BIN_NS (thorn Meudon_Bin_NS) inherits from SummationByParts*<br>
> >>> * No thorn in your current ThornList implements SummationByParts*<br>
> >>> * Either remove Meudon_Bin_NS, or add a thorn to your*<br>
> >>> * ThornList implementing SummationByParts*<br>
> >>> * Available thorns in arrangements directory implementing<br>
> >>> SummationByParts:*<br>
> >>> * LSUThorns/SummationByParts*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *CST error 7:*<br>
> >>> * -> Configuration script for thorn BLAS returned exit code 1*<br>
> >>> * Error message: 'Error while building BLAS. Aborting.'*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *CST error 8:*<br>
> >>> * -> Configuration script for thorn LAPACK returned exit code 1*<br>
> >>> * Error message: 'Error while building LAPACK. Aborting.'*<br>
> >>> *<br>
> >>> *<br>
> >>> *------------------------------------------------------*<br>
> >>> *<br>
> >>> *<br>
> >>> *gmake[1]: ***<br>
> >>><br>
> >> [/project/projectdirs/snfactry/hshukla/CACTUS/Cactus/configs/WaveDemo/config-data/make.thornlist]<br>
> >>> Error 1*<br>
> >>> *gmake: *** [WaveDemo] Error 2*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> 4. Copied LSUThorns by hand and repeated step 3 and got the same errors.<br>
> >>> *<br>
> >>><br>
> >>> *183 components checked out.*<br>
> >>> * 0 components updated.*<br>
> >>> *<br>
> >>> *<br>
> >>> * Unable to process simfactory2*<br>
> >>> * Unable to process LSUThorns/QuasiLocalMeasures*<br>
> >>> * Unable to process LSUThorns/SummationByParts*<br>
> >>> * Unable to process LSUThorns/Vectors*<br>
> >>> *<br>
> >>> *<br>
> >>> *Summary of Warnings:*<br>
> >>> *<br>
> >>> *<br>
> >>> *Could not checkout module simfactory2*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *Could not checkout module LSUThorns/QuasiLocalMeasures*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *Could not checkout module LSUThorns/SummationByParts*<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *<br>
> >>> *Could not checkout module LSUThorns/Vectors*<br>
> >>> *<br>
> >>> *<br>
> >>><br>
> >>> * Time Elapsed: 26 minutes, 19 seconds*<br>
> >>><br>
> >>> Best,<br>
> >>> Jose<br>
> >>> _______________________________________________<br>
> >>> Users mailing list<br>
> >>> <a href="mailto:Users@einsteintoolkit.org">Users@einsteintoolkit.org</a><br>
> >>> <a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" target="_blank">http://lists.einsteintoolkit.org/mailman/listinfo/users</a><br>
> >><br>
> >> --<br>
> >> Ian Hinder<br>
> >> <a href="http://numrel.aei.mpg.de/people/hinder" target="_blank">http://numrel.aei.mpg.de/people/hinder</a><br>
> >><br>
> >><br>
><br>
> --<br>
> Ian Hinder<br>
> <a href="http://numrel.aei.mpg.de/people/hinder" target="_blank">http://numrel.aei.mpg.de/people/hinder</a><br>
><br>
><br>
<br>
--<br>
Ian Hinder<br>
<a href="http://numrel.aei.mpg.de/people/hinder" target="_blank">http://numrel.aei.mpg.de/people/hinder</a><br>
<br>
</div></div></blockquote></div><br></div></div></div>