-
Notifications
You must be signed in to change notification settings - Fork 165
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
NVidia nvc++ compiler with O2 optimization leads to unknown token error during parsing #205
Comments
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Mar 20, 2023
I have tried this again with the recent NVidia developer kit (see installation instructions below). The issue seems to be fixed.
Issue only comes up on NVHPC 2021 with optimization O2 or O3:
|
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Apr 11, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Apr 11, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Apr 12, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Apr 14, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
May 8, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
May 8, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
May 9, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
May 10, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
May 10, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
May 23, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
May 24, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
May 24, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Jun 27, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Jul 7, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Jul 7, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Jul 10, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Jul 24, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Aug 4, 2023
franzpoeschel
added a commit
to franzpoeschel/openPMD-api
that referenced
this issue
Aug 10, 2023
ax3l
added a commit
to openPMD/openPMD-api
that referenced
this issue
Aug 17, 2023
* TOML backend * Add documentation for TOML * Fixes for long double and long integer types * Only run TOML tests if TOML is available TOML is not shown as available on NVIDIA compilers * Deactivate long double entirely for JSON/TOML * CI fix: unused variable * Hide/deactivate/warn Toml backend on nvcc compilers ToruNiina/toml11#205 * Usage notes for JSON / TOML * Update comment in test/python/unittest/API/APITest.py Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Update documentation text Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> --------- Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know if this is a compiler issue or an issue with the toml11 library, but with optimization level
-O2
innvc++
, the toml11 will often fail parsing strings due to unknown tokens appearing. By puttingprintf
statements in the toml11 source code, I found out that the unknown token appears to be a linefeed.To reproduce:
I installed the NVidia compilers into an Ubuntu 20.04, using the following two packages:
If not yet installed, the
environment-modules
OS package is needed to activate the compiler environment thereafter via:I checked out toml11 at the
v3.7.1
tag (the issue can also be reproduced on the latestmaster
, 22db720 commit) and compiled the following test program:Compilation and invocation:
The second invocation, compiled with
-O1
finishes cleanly.The text was updated successfully, but these errors were encountered: