[Users] Workshop

Roland Haas rhaas at illinois.edu
Wed Aug 5 11:09:43 CDT 2020


Hello Maria,

you can find my notebook on the tutorial server in the /etc/skel
directory and copy it to your own $HOME on the server by adding this:

%%bash
cp /etc/skel/UsingTheCactusReductionInterface.ipynb ~/

to a tutorial notebook (or use just the "cp" command in a terminal or
use "!cp ..." in a regular notebook where %%bash may not exist).

or you can download the notebook from my github account:

https://github.com/rhaas80/etlsu2020-reduction

I expect that we will collect all notebooks and talks slides and
provide them for download after the workshop.

Yours,
Roland

> Roland,
> 
> That was it! Thank you!
> 
> Your talk Yesterday was really useful. Will you please share the link where I can find the Jupyter notebook you presented?
> For whatever reason, from https://etk.cct.lsu.edu/ I cannot access but 5 tutorials:
> 
> CactusTutorial-08-2020.ipynb<https://etk.cct.lsu.edu/user/babiuc/notebooks/CactusTutorial-08-2020.ipynb>
> 
> CactusTutorial.ipynb<https://etk.cct.lsu.edu/user/babiuc/notebooks/CactusTutorial.ipynb>
> 
> CreatingANewThorn-HeatEqn.ipynb<https://etk.cct.lsu.edu/user/babiuc/notebooks/CreatingANewThorn-HeatEqn.ipynb>
> 
> CreatingANewThorn-WaveEqn.ipynb<https://etk.cct.lsu.edu/user/babiuc/notebooks/CreatingANewThorn-WaveEqn.ipynb>
> 
> VisualizingOutput-WaveMoL.ipynb<https://etk.cct.lsu.edu/user/babiuc/notebooks/VisualizingOutput-WaveMoL.ipynb>
> 
> thank you,
> Maria
> _______________________
> Maria C. Babiuc Hamilton, Ph.D.
> Professor, Department of Physics
> College of Science, Marshall University,
> 1 John Marshall Drive, Huntington, WV, 25755
> Room S 257, Phone: (304)696-2754
> 
> 
> ________________________________
> From: Roland Haas
> Sent: Monday, August 3, 2020 12:09 PM
> To: Hamilton, Maria
> Cc: users at einsteintoolkit.org
> Subject: Re: [Users] Workshop
> 
> Hello Maria,
> 
> looks like the gcc-10/gfortran-10 issue to me.
> 
> Please note that if there is *any* gcc-10 installed then simfactory
> will pick it up and use it.
> 
> (copied from responses of mine to the same question on the users
> mailing list earlier):
> 
> --8<--
> Then please see here for a workaround:
> 
> https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fbitbucket.org%2feinsteintoolkit%2ftickets%2fissues%2f2403%2fcompile-failure-with-gfortran-10-when&c=E,1,aQMCtAsnGgFsA2Wb-KUDyiwL3VDDlFl2FelR5tRXr_R_P28fdnRlUM02DT2Ji3n54B4j_IErUJROaSSys3FT-WtOBsOL47AiNsbonrDfktBIiHBTkUfq2dWhdX0,&typo=1
> 
> https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fbitbucket.org%2feinsteintoolkit%2ftickets%2fissues%2f2406%2fcactus-fails-to-link-with-gcc-10-due-to&c=E,1,lCfgA839oQxWadbXkLOxgqYmWvMg55Vy6trID6lKvI6Fm4ewncnHW-KbHuiyezJrf0L18GDmFxstRN2y8P4tMwzjJB3JB1iD9_rU0obBhVEoFIQpSK1t8rkndljx&typo=1
> 
> basically by adding -fcommon and -fallow-argument-mismatch to the
> compiler flags.
> 
> The tutorial notebook
> 
> https://github.com/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb
> 
> also contains information on the workaround.
> 
> A proper fix is ready to be deployed to the released code but we were
> holding off until after the workshop to not accidentally introduce more
> (unknown) issues on top of the one for which we have a workaround.
> 
> To fix this you can edit the file
> 
> configs/sim/OptionList
> 
> and also (the path might be a bit fuzzy):
> 
> simfactory/mdb/optionlists/generic-mp-10.cfg
> 
> and replace all gcc-10, g++-10 and gfortran-10 by the -9 flavors or by
> adding the -fXXX options that I had mentioned before.
> 
> Afterwards you will have to run:
> 
> simfactory/bin/sim build --reconfig
> 
> which will instruct simfactory to update the build options using the
> values in configs/sim/OptionList .
> --8<--
> 
> Yours,
> Roland
> 
> > Hi,
> >
> > I have an error when running the commands from the Jupyter tutorial on my Mac laptop, on terminal:
> > ___
> >
> >
> > ------------------------------------------------------
> >
> > There was 1 error during execution of the CST
> >
> > This must be corrected before compilation can proceed
> >
> > ------------------------------------------------------
> >
> >
> >
> >
> > ------------------------------------------------------
> >
> > Warnings were generated during execution of the CST
> >
> > ------------------------------------------------------
> >
> >
> >
> > CST error 1:
> >  
> >   -> Configuration script for thorn LAPACK returned exit code 2  
> >
> >      (no error message)
> >
> >
> > ------------------------------------------------------
> >
> >
> > make[1]: *** [/Users/babiuc/ETK2020/Cactus/configs/sim/config-data/make.thornlist] Error 1
> >
> > ___
> >
> >
> > When I am trying to run the commands from the Jupyter notebook, the error is in LoopControl:
> > ____
> >
> > COMPILING Carpet/LoopControl/src/type_sizes.F90
> > /Users/babiuc/ETK2020/Cactus/configs/sim/build/LoopControl/type_sizes.f90:57:33:
> >
> >    56 |   type_sizes(1) = CCTK_PointerTo(vec(2)) - CCTK_PointerTo(vec(1))
> >       |                                 2
> >    57 |   type_sizes(2) = CCTK_PointerTo(space(2)) - CCTK_PointerTo(space(1))
> >       |                                 1
> > Error: Type mismatch between actual argument at (1) and actual argument at (2) (TYPE(lc_space_t)/TYPE(lc_vec_t)).
> > /Users/babiuc/ETK2020/Cactus/configs/sim/build/LoopControl/type_sizes.f90:57:60:
> >
> >    56 |   type_sizes(1) = CCTK_PointerTo(vec(2)) - CCTK_PointerTo(vec(1))
> >       |                                 2
> >    57 |   type_sizes(2) = CCTK_PointerTo(space(2)) - CCTK_PointerTo(space(1))
> >       |                                                            1
> > Error: Type mismatch between actual argument at (1) and actual argument at (2) (TYPE(lc_space_t)/TYPE(lc_vec_t)).
> > /Users/babiuc/ETK2020/Cactus/configs/sim/build/LoopControl/type_sizes.f90:58:33:
> >
> >    56 |   type_sizes(1) = CCTK_PointerTo(vec(2)) - CCTK_PointerTo(vec(1))
> >       |                                 2
> >    57 |   type_sizes(2) = CCTK_PointerTo(space(2)) - CCTK_PointerTo(space(1))
> >    58 |   type_sizes(3) = CCTK_PointerTo(control(2)) - CCTK_PointerTo(control(1))
> >       |                                 1
> > Error: Type mismatch between actual argument at (1) and actual argument at (2) (TYPE(lc_control_t)/TYPE(lc_vec_t)).
> > /Users/babiuc/ETK2020/Cactus/configs/sim/build/LoopControl/type_sizes.f90:58:62:
> >
> >    56 |   type_sizes(1) = CCTK_PointerTo(vec(2)) - CCTK_PointerTo(vec(1))
> >       |                                 2
> >    57 |   type_sizes(2) = CCTK_PointerTo(space(2)) - CCTK_PointerTo(space(1))
> >    58 |   type_sizes(3) = CCTK_PointerTo(control(2)) - CCTK_PointerTo(control(1))
> >       |                                                              1
> > Error: Type mismatch between actual argument at (1) and actual argument at (2) (TYPE(lc_control_t)/TYPE(lc_vec_t)).
> > make[3]: *** [type_sizes.F90.o] Error 1
> > make[2]: *** [make.checked] Error 2
> > make[1]: *** [/Users/babiuc/ETK2020/Cactus/configs/sim/lib/libthorn_LoopControl.a] Error 2
> > make[1]: *** Waiting for unfinished jobs....
> > COMPILING configs/sim/bindings/build/SpaceMask/cctk_ThornBindings.c
> > Creating /Users/babiuc/ETK2020/Cactus/configs/sim/lib/libthorn_SpaceMask.a
> > make: *** [sim] Error 2
> >
> > ____
> >
> > This is with gcc-10.
> >
> > Maria
> > _______________________
> > Maria C. Babiuc Hamilton, Ph.D.
> > Professor, Department of Physics
> > College of Science, Marshall University,
> > 1 John Marshall Drive, Huntington, WV, 25755
> > Room S 257, Phone: (304)696-2754
> >
> >
> > ________________________________
> > From: users-bounces at einsteintoolkit.org <users-bounces at einsteintoolkit.org> on behalf of Roland Haas <rhaas at illinois.edu>
> > Sent: Monday, August 3, 2020 10:02 AM
> > To: users at einsteintoolkit.org <users at einsteintoolkit.org>
> > Subject: Re: [Users] Workshop
> >
> > Hello Bilal,
> >  
> > > Dear Sir,
> > > Is the workshop started?
> > > any Link for the workshop?  
> > https://lsu.zoom.us/j/92731656466
> >
> > Yours,
> > Roland
> >
> > --
> > My email is as private as my paper mail. I therefore support encrypting
> > and signing email messages. Get my PGP key from http://pgp.mit.edu .  
> 
> 
> --
> My email is as private as my paper mail. I therefore support encrypting
> and signing email messages. Get my PGP key from http://pgp.mit.edu .


-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20200805/a30f61fd/attachment.bin 


More information about the Users mailing list