Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc13 compilation problem #3797

Open
VictorEijkhout opened this issue Sep 11, 2023 · 5 comments
Open

gcc13 compilation problem #3797

VictorEijkhout opened this issue Sep 11, 2023 · 5 comments

Comments

@VictorEijkhout
Copy link

In file included from /work2/00434/eijkhout/adios2/adios2-git/source/adios2/toolkit/transportman/TransportMan.cpp:33:
/work2/00434/eijkhout/adios2/adios2-git/source/adios2/toolkit/transport/file/FileAWSSDK.h:86:14: error: ‘S3ClientConfiguration’ in namespace ‘Aws::S3’ does not name a type
   86 |     Aws::S3::S3ClientConfiguration *s3ClientConfig = nullptr;

Logs attached.
adios2_logs.zip

@VictorEijkhout
Copy link
Author

Same with the latest release version btw.

@eisenhauer
Copy link
Member

This may be related to the version of the AWS SDK that you're using. Can you tell us what version that is?

@VictorEijkhout
Copy link
Author

From the logs:

CMake Warning (dev) at /scratch1/projects/compilers/oneapi_2021.4.0.3422/intelpython/python3.7/lib/cmake/AWSSDK/AWSSDKConfig.cmake:119 (while):
  Policy CMP0130 is not set: while() diagnoses condition evaluation errors.
  Run "cmake --help-policy CMP0130" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  while() given incorrect arguments:

    "NOT" "TEMP_NAME" "STREQUAL"

  Unknown arguments specified
Call Stack (most recent call first):
  cmake/DetectOptions.cmake:538 (find_package)
  CMakeLists.txt:170 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found AWS SDK for C++, Version: 1.8.185, Install Root:/scratch1/projects/compilers/oneapi_2021.4.0.3422/intelpython/python3.7, Platform Prefix:, Platform Dependent Libraries: pthread;crypto;ssl;z;curl
-- Components specified for AWSSDK: s3, application will be depending on libs: aws-cpp-sdk-s3;aws-cpp-sdk-core
-- Try finding aws-cpp-sdk-core
-- Found aws-cpp-sdk-core
-- Try finding aws-cpp-sdk-s3
-- Found aws-cpp-sdk-s3

@eisenhauer
Copy link
Member

Hmm. Looks like that version of AWSSDK simply doesn't have the ws::S3::S3ClientConfiguration type that our AWS transport users. Probably a couple of things need to happen. In ADIOS, we either need to set the minimum required version of AWS in the find_package call, or we need to set the default for ADIOS_USE_AWSSDK to Off. In the meantime, the AWS transport in ADIOS was created more as an experiment to see what kind of performance we could get using ADIOS to the cloud. It is not really a production transport, so your best path is probably simply to turn it off by adding -DASIOS_USE_AWSSDK=Off to your CMake invocation. @pnorbert, do you know the minimum version required for this?

@VictorEijkhout
Copy link
Author

Eh, that is of course -D ADIOS2_USE_AWSSDK=OFF. But otherwise, yeah, that does the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants