Page 1 of 1

[solved] make fails for 2.3.1 and nightly version

Posted: Sun Sep 02, 2012 4:13 pm
by alberich
Hello,
when installing, I receive the error messages below (Ubuntu 12.04 for the cs version 2.3.1 as well as for the night version). Since there were a couple of libs missing (med, scotch, cgns), I sourced med from my code_aster installation (salome didn't work) and scotch and cgns from my salome installation. Thus

Code: Select all

./configure --prefix=/home/alain/bin/saturne  --with-scotch=/home/alain/bin/salome/Salome-V6_5_0p1-LGPL-x86_64/prerequisites/Scotch_5111 --with-cgns=/home/alain/bin/salome/Salome-V6_5_0p1-LGPL-x86_64/prerequisites/Cgnslib_3134 --with-salome=/home/alain/bin/salome/Salome-V6_5_0p1-LGPL-x86_64 --with-med=/home/alain/bin/aster/public/med-3.0.5
make stops with the following errors:

Code: Select all

fvm_to_medcoupling.cxx:1781:1: warning: unused parameter 'path' [-Wunused-parameter]
fvm_to_medcoupling.cxx:1781:1: warning: unused parameter 'options' [-Wunused-parameter]
fvm_to_medcoupling.cxx:1894:1: warning: unused parameter 'time_step' [-Wunused-parameter]
fvm_to_medcoupling.cxx:1894:1: warning: unused parameter 'time_value' [-Wunused-parameter]
fvm_to_medcoupling.cxx: In function 'void fvm_to_medcoupling_export_nodal(void*, const fvm_nodal_t*)':
fvm_to_medcoupling.cxx:2002:38: error: '_write_connect_block' was not declared in this scope
fvm_to_medcoupling.cxx: In function 'void fvm_to_medcoupling_export_field(void*, const fvm_nodal_t*, const char*, fvm_writer_var_loc_t, int, cs_interlace_t, int, const cs_lnum_t*, cs_datatype_t, int, double, const void* const*)':
fvm_to_medcoupling.cxx:2095:8: warning: unused variable 'output_dim' [-Wunused-variable]
fvm_to_medcoupling.cxx:2101:14: warning: unused variable 'rank' [-Wunused-variable]
fvm_to_medcoupling.cxx: At global scope:
fvm_to_medcoupling.cxx:231:1: warning: 'INTERP_KERNEL::NormalizedCellType _get_norm_elt_type(fvm_element_t)' defined but not used [-Wunused-function]
fvm_to_medcoupling.cxx:296:1: warning: 'void _get_vertex_order(INTERP_KERNEL::NormalizedCellType, int*)' defined but not used [-Wunused-function]
make[3]: *** [fvm_medcoupling_la-fvm_to_medcoupling.lo] Error 1
make[3]: Leaving directory `/home/alain/bin/code_saturne-2.3.1/src/fvm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alain/bin/code_saturne-2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alain/bin/code_saturne-2.3.1'
make: *** [all] Error 2
Any ideas?
al

Re: make fails for 2.3.1 and nightly version on ubuntu 12.04

Posted: Mon Sep 03, 2012 3:31 pm
by Yvan Fournier
Hello,

This is a bug, occurring when MPI is not used. It has just been fixed, so future versions will contain the fix, but in the meantime, you should be able to work around this bug by adding:

--without-salome-med

to your configure command (the MEDCoupling SALOME plugin is not currently used yet, so you will lose no functionnality.

Best regards,

Yvan

Re: make fails for 2.3.1 and nightly version on ubuntu 12.04

Posted: Tue Sep 04, 2012 7:01 am
by alberich
Hello,
thank you for the hint. I finally installed the installer version of 2.3, which worked fine.
al