#1632: problem with compilation -----------------------------------+---------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: critical | Milestone: ET_2014_05 Component: EinsteinToolkit thorn | Version: development version Keywords: GRHydro Utils F90 | -----------------------------------+---------------------------------------- Ubuntu workstation, gcc and gfortran compilers.
$./GetComponents --parallel https://svn.einsteintoolkit.org/manifest/branches/ET_2014_05/einsteintoolkit...
after that make the configuration $./simfactory/bin/sim setup --optionlist=ubuntu.cfg --runscript debian.sh
but fail to do build of the project $./simfactory/bin/sim build
******************************************************************************** Running configuration script for thorn HWLOC: hwloc selected, but HWLOC_DIR not set. Checking some places... Found hwloc in /usr Finished running configuration script for thorn HWLOC. Checking consistency... Creating Thorn-Flesh bindings... Creating implementation bindings... Creating parameter bindings... Creating variable bindings... Creating schedule bindings... Creating function bindings...
------------------------------------------------------ There were 2 errors during execution of the CST These must be corrected before compilation can proceed ------------------------------------------------------
------------------------------------------------------ Warnings were generated during execution of the CST ------------------------------------------------------
CST error 1: -> Configuration script for thorn FORTRAN returned exit code 1 Error message: 'Fortran thorn requires that a Fortran compiler is defined, but F77 = 'none' and F90 = 'none'. Aborting.'
CST error 2: -> Configuration script for thorn LORENE returned exit code 1 (no error message)
------------------------------------------------------
make[1]: *** [/home/Cactus/configs/sim/config-data/make.thornlist] Error 1 make: *** [sim] Error 2
///////////////////////////////////////////////////////
After that $make config $make test1 $make test1 2&> test1_log.txt
The compilation of the cactus report errors in file Cactus/configs/test1/build/GRHydro/Utils.f90
COMPILING arrangements/EinsteinEvolve/GRHydro/src/Utils.F90 Warning: Nonexistent include directory "/home/bmv/utils/soft/cactus/Cactus/arrangements/EinsteinEvolve/GRHydro/src/include" Warning: Nonexistent include directory "/home/bmv/utils/soft/cactus/Cactus/arrangements/EinsteinEvolve/GRHydro/src/include" /home/bmv/utils/soft/cactus/Cactus/configs/test1/build/GRHydro/Utils.f90:2879.10:
pointer (pg11,g11), (pg12,g12), (pg13,g13), (pg22,g22), (pg23,g23), (pg33,g33) 1 Error: Cray pointer declaration at (1) requires -fcray-pointer flag /home/bmv/utils/soft/cactus/Cactus/configs/test1/build/GRHydro/Utils.f90:2882.8:
pg11 = loc(gaa) 1 Error: Symbol 'pg11' at (1) has no IMPLICIT type /home/bmv/utils/soft/cactus/Cactus/configs/test1/build/GRHydro/Utils.f90:2883.8:
pg12 = loc(gab) 1 Error: Symbol 'pg12' at (1) has no IMPLICIT type /home/bmv/utils/soft/cactus/Cactus/configs/test1/build/GRHydro/Utils.f90:2884.8:
pg13 = loc(gac) 1 Error: Symbol 'pg13' at (1) has no IMPLICIT type /home/bmv/utils/soft/cactus/Cactus/configs/test1/build/GRHydro/Utils.f90:2885.8:
pg22 = loc(gbb) 1 Error: Symbol 'pg22' at (1) has no IMPLICIT type /home/bmv/utils/soft/cactus/Cactus/configs/test1/build/GRHydro/Utils.f90:2886.8:
pg23 = loc(gbc) 1 Error: Symbol 'pg23' at (1) has no IMPLICIT type /home/bmv/utils/soft/cactus/Cactus/configs/test1/build/GRHydro/Utils.f90:2887.8:
pg33 = loc(gcc) 1 Error: Symbol 'pg33' at (1) has no IMPLICIT type make[3]: *** [Utils.F90.o] Error 1 make[2]: *** [make.checked] Error 2 make[1]: *** [/home/Cactus/configs/test1/lib/libthorn_GRHydro.a] Error 2 make: *** [test1] Error 2
#1632: problem with compilation ------------------------------------+--------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: critical | Milestone: ET_2014_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: GRHydro Utils F90 ------------------------------------+---------------------------------------
Comment (by knarf):
It is strange that thorn Fortran says F77 and F90 are 'none', but the option list (in simfactory) mentions gfortran. Are there maybe earlier errors about the Fortran compiler?
Later Cactus seems to find the Fortran compiler, and that complaints about a missing -fcray-pointer, which is present in the (current) ubuntu.cfg.
Could you please attach your Cactus/configs/sim/Optionlist file to the bug report?
#1632: problem with compilation ------------------------------------+--------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: critical | Milestone: ET_2014_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: GRHydro Utils F90 ------------------------------------+---------------------------------------
Comment (by Maxim Barkov <maxim.barkov@…>):
I have changed OptionList in setup sim (add gfortran by hands), but it not helps.
#1632: problem with compilation ------------------------------------+--------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: critical | Milestone: ET_2014_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: GRHydro Utils F90 ------------------------------------+---------------------------------------
Comment (by knarf):
Try removing your existing configuration, and build with {{{ ./simfactory/bin/sim build --optionlist=ubuntu.cfg --runscript debian.sh }}} (Note the options that you had are here on 'build', not 'setup')
#1632: problem with compilation ------------------------------------+--------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: critical | Milestone: ET_2014_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: GRHydro Utils F90 ------------------------------------+---------------------------------------
Comment (by Maxim Barkov <maxim.barkov@…>):
I have remove cactus folder {{{ ./GetComponents --parallel https://svn.einsteintoolkit.org/manifest/branches/ET_2014_05/einsteintoolkit... }}}
the command {{{ ./simfactory/bin/sim build --optionlist=ubuntu.cfg --runscript debian.sh }}} report error about absence of the configuration
I did {{{ ./simfactory/bin/sim setup --optionlist=ubuntu.cfg --runscript debian.sh }}}
after that {{{ ./simfactory/bin/sim build --optionlist=ubuntu.cfg --runscript debian.sh --thornlist=manifest/einsteintoolkit.th 2&> sim_2_log.txt }}}
results in the attachment.
#1632: problem with compilation ------------------------------------+--------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: critical | Milestone: ET_2014_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: GRHydro Utils F90 ------------------------------------+---------------------------------------
Comment (by Maxim Barkov <maxim.barkov@…>):
I have remove cactus folder {{{ rm -rf Cactus }}} after that
{{{ ./GetComponents --parallel https://svn.einsteintoolkit.org/manifest/branches/ET_2014_05/einsteintoolkit... }}}
the command {{{ ./simfactory/bin/sim build --optionlist=ubuntu.cfg --runscript debian.sh }}} report error about absence of the configuration
I did {{{ ./simfactory/bin/sim setup --optionlist=ubuntu.cfg --runscript debian.sh }}}
after that {{{ ./simfactory/bin/sim build --optionlist=ubuntu.cfg --runscript debian.sh --thornlist=manifest/einsteintoolkit.th 2&> sim_2_log.txt }}}
results in the attachment.
#1632: problem with compilation ------------------------------------+--------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: critical | Milestone: ET_2014_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: GRHydro Utils F90 ------------------------------------+---------------------------------------
Comment (by Maxim Barkov <maxim.barkov@…>):
The Build operation was successful after corrections of the PATHs to mpi and Installations additional libraries {{{ sudo apt-get install libltdl-dev libnuma-dev }}}
Sorry for inconvinience
I would add the information about these libraries on the page https://docs.einsteintoolkit.org/et-docs/Simplified_Tutorial_for_New_Users
#1632: problem with compilation -----------------------------+---------------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: minor | Milestone: ET_2014_05 Component: Cactus website | Version: development version Resolution: | Keywords: Installation Documentation problems. -----------------------------+---------------------------------------------- Changes (by Maxim Barkov <maxim.barkov@…>):
* keywords: GRHydro Utils F90 => Installation Documentation problems. * priority: critical => minor * component: EinsteinToolkit thorn => Cactus website
#1632: problem with compilation -----------------------------+---------------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: minor | Milestone: ET_2014_05 Component: Cactus website | Version: development version Resolution: | Keywords: Installation Documentation problems. -----------------------------+----------------------------------------------
Comment (by Maxim Barkov <maxim.barkov@…>):
To do not make similar ticket.
How can I change the number of mpi threads? {{{ ./simfactory/bin/sim submit static_tov --parfile=par/static_tov.par --procs=8 --walltime=24:0:0 Parameter file: /home/bmv/utils/soft/cactus/Cactus/par/static_tov.par Skeleton Created Job directory: "/home/bmv/simulations/static_tov" Executable: "/home/bmv/utils/soft/cactus/Cactus/exe/cactus_sim" Option list: "/home/bmv/simulations/static_tov/SIMFACTORY/cfg/OptionList" Submit script: "/home/bmv/simulations/static_tov/SIMFACTORY/run/SubmitScript" Run script: "/home/bmv/simulations/static_tov/SIMFACTORY/run/RunScript" Parameter file: "/home/bmv/simulations/static_tov/SIMFACTORY/par/static_tov.par" Assigned restart id: 0 Error: Too many nodes specified: nodes=8 (maxnodes is 1) Aborting Simfactory. }}}
#1632: problem with compilation -----------------------------+---------------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: minor | Milestone: ET_2014_05 Component: Cactus website | Version: development version Resolution: | Keywords: Installation Documentation problems. -----------------------------+----------------------------------------------
Comment (by Maxim Barkov <maxim.barkov@…>):
With one threads cactus works fine.
#1632: problem with compilation -----------------------------+---------------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: minor | Milestone: ET_2014_05 Component: Cactus website | Version: development version Resolution: | Keywords: Installation Documentation problems. -----------------------------+----------------------------------------------
Comment (by Maxim Barkov <maxim.barkov@…>):
Mint mate 16 (ubuntu 13.10) is installed on my workstation.
That I did: Download Cactus from repository {{{./GetComponents --parallel https://svn.einsteintoolkit.org/manifest/branches/ET_2014_05/einsteintoolkit... }}} Corrected path to MPI library (I used mpich 3 compiled from sources) in the file: Cactus/simfactory/mdb/optionlists/ubuntu.cfg
Made initial setup {{{ ./simfactory/bin/sim setup --optionlist=ubuntu.cfg --runscript debian.sh }}}
Install additional packages to ubuntu {{{ sudo apt-get install libltdl-dev libnuma-dev }}}
Build the cactus: {{{ ./simfactory/bin/sim build --optionlist=ubuntu.cfg --runscript debian.sh --thornlist=manifest/einsteintoolkit.th 2&> sim_2_log.txt }}}
After that follow the instructions how to run exaples on the https://docs.einsteintoolkit.org/et-docs/Tutorial_for_New_Users
#1632: problem with compilation -----------------------------+---------------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: new Priority: minor | Milestone: Component: Cactus website | Version: development version Resolution: | Keywords: Installation Documentation problems. -----------------------------+---------------------------------------------- Changes (by knarf):
* cc: maxim.barkov@… (added) * milestone: ET_2014_05 =>
Comment:
Can you please try with the new release?
#1632: problem with compilation -----------------------------+---------------------------------------------- Reporter: barmv | Owner: new user Type: defect | Status: closed Priority: minor | Milestone: Component: Cactus website | Version: development version Resolution: fixed | Keywords: Installation Documentation problems. -----------------------------+---------------------------------------------- Changes (by hinder):
* status: new => closed * resolution: => fixed
Comment:
This seems to be the same problem as #1717, where the solution was to disable the system-installed hwloc on Ubuntu. I believe the ticket submitter's problem has been fixed, so I am closing the ticket. Please reopen if this is not the case.
trac@lists.einsteintoolkit.org