[Nek5000-users] compilation problems with IBM xlc compiler

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Sat Mar 3 05:40:59 CST 2012


Hi neks,

I have the following problem when trying to compile NEK on a IBM SP6 using the IBM compiler. When the compilation arrives to the C routine  gs.c, I get the following errors:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
mpcc -c -DUNDERSCORE -O2 -DPTRSIZE8 -DMPI -DLONGINT8 -DGLOBAL_LONG_LONG  -DPREFIX=jl_ /sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c -o obj/jl_gs.o
/gpfs/prod/xlc10/usr/vacpp/bin/.orig/cc_r: 1501-245 (W) Warning: Hard ulimit has been reduced to less than RLIM_INFINITY.  There may not be enough space to complete the compilation.
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 116.8: 1506-334 (S) Identifier unique_id has already been defined on line 649 of "/usr/include/sys/types.h".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 124.13: 1506-022 (S) "id" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 125.13: 1506-022 (S) "work_proc" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 126.13: 1506-022 (S) "src_if" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 201.41: 1506-022 (S) "work_proc" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 203.53: 1506-022 (S) "src_if" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 203.53: 1506-022 (S) "src_if" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 203.47: 1506-022 (S) "id" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 203.47: 1506-022 (S) "id" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 206.24: 1506-022 (S) "id" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 207.17: 1506-022 (S) "src_if" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 207.32: 1506-022 (S) "src_if" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 210.30: 1506-022 (S) "id" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 220.24: 1506-022 (S) "id" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 221.23: 1506-022 (S) "work_proc" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 221.48: 1506-022 (S) "src_if" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 223.46: 1506-022 (S) "id" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 224.24: 1506-022 (S) "work_proc" is not a member of "struct unique_id".
"/sp6/userexternal/CODICI/nek5_svn/trunk/nek/jl/gs.c", line 224.48: 1506-022 (S) "src_if" is not a member of "struct unique_id".
make: *** [obj/jl_gs.o] Error 1
-bash-3.2$ 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I think that this is related to the compilation flags, which seems to be the same as those employed with gcc......Did you encountered this problem before? Do you have any suggestion to try to solve it?

Thank you in advance for your help!

Regards,
Simone






More information about the Nek5000-users mailing list