Hi Nek's,<br><br>I actually have the same problem with the IBM Power 6 of IDRIS (French supercomputing center) and have absolutely no idea how to solve it properly. Could anyone give me a hint?<br><br>Regards,<br><br><div class="gmail_quote">
On 3 March 2012 13:44, <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi again,<br>
<br>
I just found out the problem! Actually in /usr/include/sys/types.h on the SP6 machine I am using there is a type names unique_id already defined, that was used instead of the one defined in gs.c when compiling nek5000. For the moment I just changed the name in gs.c from unique_id to unique_id2 because I don't know how to override the definition in the type.h file. Now I only have a final link problem with the function .flush:<br>
<br>
ld: 0711-317 ERROR: Undefined symbol: .flush<br>
<br>
I think this is easier to be solved and I will try to do so. Any suggestion?<br>
<br>
I take the occasion to thank all of you for having shared this great tool, nek5000, with the scientific community!!<br>
<br>
Regards,<br>
<br>
Simone<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
> Hi neks,<br>
><br>
> 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:<br>
><br>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
> 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<br>
> /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.<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> "/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".<br>
> make: *** [obj/jl_gs.o] Error 1<br>
> -bash-3.2$<br>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
><br>
> 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?<br>
><br>
> Thank you in advance for your help!<br>
><br>
> Regards,<br>
> Simone<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Nek5000-users mailing list<br>
> <a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
<br>
_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>JC<br>