[Users] Workshop
Roland Haas
rhaas at illinois.edu
Mon Aug 3 11:09:29 CDT 2020
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://bitbucket.org/einsteintoolkit/tickets/issues/2403/compile-failure-with-gfortran-10-when
https://bitbucket.org/einsteintoolkit/tickets/issues/2406/cactus-fails-to-link-with-gcc-10-due-to
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 .
-------------- 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/20200803/f318309b/attachment.bin
More information about the Users
mailing list