Thread Previous • Date Previous • Date Next • Thread Next |
Have anyone ever met this problem while compiling YADE on a cluster? The scons check has passed but when begin compiling the source:You are using gcc older than 4.3 (IIRC), see man gcc, the -march switch and say/data/DEM_CFD/build-svn1942/core/core.cpp:1: error: bad value (native) for -march= switch
scons march=opteron-sse3using the right architecture for the machine you are ocmpiling in. Native was added in 4.3 and it means that it chooses the architecture of the host for the binary.
Vaclav
Thread Previous • Date Previous • Date Next • Thread Next |