Quantcast
Channel: FaST-LMM: FActored Spectrally Transformed Linear Mixed Models
Viewing all articles
Browse latest Browse all 87

New Post: Problems compiling fastlmm 2.05

$
0
0

I am compiling under ubuntu and have not tried redhat.

I can take a look tomorrow but from the error,

In file included from ./Inc/FastLmmC.h:144,

             from Src/Beta.cpp:2:

./Inc/Utils.h: In function ‘int _isnan(real)’:
./Inc/Utils.h:98: error: expected unqualified-id before ‘(’ token

My _guess_ is that you are not compiling with the c++ 0x library enabled and your compiler is not recognizing std::isnan().

If you don’t have an isnan() variant in your library, then the function can be implemented as

inline int _isnan( real x ) { return( x != x); }

It may not be as efficient, but that should not matter too much in our case.

-bobd-


Viewing all articles
Browse latest Browse all 87

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>