Open princesswinnie1122 opened 1 month ago
Certainly odd. It looks like when compilng the EVPath subproject the CMake-generated config.h file isn't being included (that's where IPCONFIG_ENVVAR_PREFIX should be defined). So maybe it's not being generated somehow, maybe the include path has something ahead of it so a different config.h is found, maybe something else. You mention the compiler, has this succeeded with other compiler versions? Seeing the output of "make VERBOSE=1" might be helpful as we'd see the compiler full command line.
I installed LAMMPS with ADIOS2 on Perlmutter not too long ago using gcc/11.2.0 and it worked (I have to check what other module I loaded). What system are you trying to build this on?
Is there any update on this issue?
In your build directory, what is the content of thirdparty/EVPath/EVPath/config.h
This file contains #define IPCONFIG_ENVVAR_PREFIX "ADIOS2_"
, and therefore it should be defined when compiling the EVPath source code, so I never see this error that you have. But I am not using gcc/11, only gcc/9, gcc/10 and gcc/12 versions.
/home/scteam06/lammps/build/ADIOS-2.8.0/thirdparty/EVPath/EVPath/ip_config.c: In function ‘get_self_ip_iface’:
/home/scteam06/lammps/build/ADIOS-2.8.0/thirdparty/EVPath/EVPath/ip_config.c:251:26: error: ‘IPCONFIG_ENVVAR_PREFIX’ undeclared (first use in this function)
251 | char *c = getenv(IPCONFIG_ENVVAR_PREFIX "LAST_RESORT_IP_ADDR");
| ^~~~~~~~~~~~~~~~~~~~~~
Hello, I'm installing ADIOS2 for LAMMPS...but kept on failing the installation process. Below are the details. Please let me know if I missing anything! Thanks a lot!
The compiler I use (source ~/.bashrc)
Configuration:
Installation (where I'm stuck)
Dependencies I've built (all with openmpi also):![image](https://github.com/ornladios/ADIOS2/assets/37247090/49f4f38b-3a82-4668-9ac8-d81afcd7edeb)
How I set the paths: