This isn't a LAM problem, this is a source code problem most likely messed
up from a bad configuration. All it's telling you is that it doesn't have
a definition for the INFINITY symbol. In other words it doesn't know what
INIFINITY is. You're probably missing an include or header file
somewhere. You could possibly hack it by putting
#define INFINITY MAX_FLOAT or
#define INFINITY HUGE_VAL in defs.hpp.
Damien
PS Like I said, this isn't a LAM issue, so it doesn't really belong on
this list.
> Hi,
>
> I'm working with a software(e-cell), it is a bioinformatics related
> software. It is installed on my linux cluster, and it uses gcc as its
> compiler . It has python script as its front end to bring all the
> necessary codes together during compilation.
>
> I'm trying to install this software on my cluster with mpiCC as the
> compiler.
> Command i use is,
> $./configure CC=mpicc CXX=mpiCC
> configure runs without any error.
> Next for make i've tried various options, like,
> $make
> or
> $make CC=mpicc CXX=mpiCC
> But for all the different options of make that i tried i get the same
> error. I would like to know if there is any way to overcome the
> Wno-pmf-converisons error? Wno-pmf-conversions is basically used for C++
> and gcc supports it, but when i change the software to mpiCC it gives out
> errors, even though mpi is a wrapper of gcc.
>
> The error is get is
>
> mpiCC -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../.. -I/usr/include
> -I/workx5/ecell3 -I../../libltdl -g -Wno-pmf-conversions -g
> -Wno-pmf-conversions -c libecs.cpp -DPIC -o .libs/libecs.o
> pgCC-Warning-Unknown switch: -Wno-pmf-conversions
> pgCC-Warning-Unknown switch: -Wno-pmf-conversions
> "Defs.hpp", line 427: error: identifier "INFINITY" is undefined
> const Real INF( INFINITY );
> ^
> "Defs.hpp", line 444: warning: type qualifier on return type is
> meaningless
> inline const Real FMA( const Real a, const Real b, const Real c )
> ^
> "libecs.hpp", line 55: warning: type qualifier on return type is
> meaningless
> inline const int getMajorVersion()
> ^
> "libecs.hpp", line 60: warning: type qualifier on return type is
> meaningless
> inline const int getMinorVersion()
> ^
> "libecs.hpp", line 65: warning: type qualifier on return type is
> meaningless
> inline const int getMicroVersion()
> ^
> 1 error detected in the compilation of "libecs.cpp".
> make[5]: *** [libecs.lo] Error 1
> make[5]: Leaving directory `/workx5/ecell3/ecell/libecs'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/workx5/ecell3/ecell/libecs'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/workx5/ecell3/ecell'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/workx5/ecell3/ecell'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/workx5/ecell3'
> make: *** [all] Error 2
> [root_at_master ecell3]#
>
> Please let me know where i'm going wrong.
>
> Thanks,
> NG.
>
>
> ---------------------------------
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy
> Football_______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|