Is it possible to make enzo compiler independent?

5 views
Skip to first unread message

Reju Sam John

unread,
Jul 19, 2016, 6:23:07 AM7/19/16
to enzo-dev
Dear all,

When I tried to compile the enzo with Intel MPI, it is failing. But the same thing can be compiled with Platform MPI. 
For example: I am getting the following error with Intel MPI.

 /opt/software/intel/impi/4.1.0.024/intel64/bin/mpiicpc   -c -o Grid_GalaxySimulationInitializeGrid.o -DLINUX -DH5_USE_16_API   -D__max_subgrids=100000 -D__max_baryons=30 -D__max_cpu_per_node=8 -D__memory_pool_size=100000 -DINITS64 -DLARGE_INTS -DCONFIG_PINT_8 -DIO_32    -DUSE_MPI   -DCONFIG_PFLOAT_8 -DCONFIG_BFLOAT_8  -DUSE_HDF5_GROUPS   -DTRANSFER   -DNEW_GRID_IO -DFAST_SIB      -DENZO_PERFORMANCE    -DSAB  -g -no-multibyte-chars -I/data1/visitor/creju/yt-x86_64/include -I/opt/software/intel/include           -I. Grid_GalaxySimulationInitializeGrid.C
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/opt/software/intel/impi/4.1.0.024/intel64/include/mpicxx.h(95): catastrophic error: #error directive: "SEEK_SET is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
  #error "SEEK_SET is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
   ^

compilation aborted for Grid_GalaxySimulationInitializeGrid.C (code 4)

But the same Grid_GalaxySimulationInitializeGrid.C can be compiled with platform_mpi/bin/mpiCC

I can't use platform MPI since there is a bug in it (this information I got from our system admin). Our HPC admin is advising to not use platform_mpi.

Is this a problem of compiler ? or any other issue ?

Hoping to hear from you soon. 
Thankyou. 
Reply all
Reply to author
Forward
0 new messages