Hello Claudia, > Oh, I built using MPICC as the C compiler, then I had to define M_PI > to like 20 digits in the cflags.... It was messy.... But it worked. > Not really sure how to get it running w Slurm, but I'm sure I'll > figure it out if I can find an MPI executable. Hmm, builing Cactus with MPICC is unusual (it may work but we don't normally do it). It may be better to build with the regular compiler (that was use to compile the MPI stack you are using). As long as mpicc or mpicxx or similar is $PATH, then the build system should find them and query them for the required MPI libraries. You can add MPI_DIR=NO_BUILD to your optionlist to make sure it never attempts to compile its own MPI stack.
For the M_PI issue: Cactus needs to be compiled with -D_DEFAULT_SOURCE (only for newer versions of glibc) or -D_BSD_SOURCE (older versions, gives lots of warnings in newer versions) (see https://trac.einsteintoolkit.org/ticket/1754) or -D_GNU_SOURCE (which will always work I believe but may give you more features than you would like). See eg. simfactory/mdb/optionlists/datura.cfg and its CFLAGS settings (you also need c99 and for the current trunk/master of the code even c++0x). Yours, Roland -- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://keys.gnupg.net.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Users mailing list [email protected] http://cactuscode.org/mailman/listinfo/users
