-
Notifications
You must be signed in to change notification settings - Fork 217
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
Boost Error in ResourceLog #2898
Comments
Thanks for reporting! PIConGPU 0.4.0+ contains a first work-around from #2721 that should have solved the issue for @psychocoderHPC any idea? We definitely missed that the calling |
@BifengLei in the meantime, you can skip the compilation of the diff --git a/include/picongpu/plugins/PluginController.hpp b/include/picongpu/plugins/PluginController.hpp
index ad6543d1c..e174c731f 100644
--- a/include/picongpu/plugins/PluginController.hpp
+++ b/include/picongpu/plugins/PluginController.hpp
@@ -70,7 +70,7 @@
#endif
#include "picongpu/plugins/Checkpoint.hpp"
-#include "picongpu/plugins/ResourceLog.hpp"
+// include "picongpu/plugins/ResourceLog.hpp"
#include <pmacc/mappings/kernel/MappingDescription.hpp>
@@ -181,7 +181,7 @@ private:
#if (ENABLE_HDF5 == 1)
, plugins::multi::Master< hdf5::HDF5Writer >
#endif
- , ResourceLog
+// , ResourceLog
>; |
@ax3l Thank you so much for replying.
|
@ax3l yes we can try it |
@BifengLei can you post one line more regarding the new error? Which PIConGPU file includes the first line? |
@ax3l Here is all of build information:
|
Hm, that's indeed all we got here... I expect it's coming from Until then, and if you don't use the diff --git a/include/picongpu/initialization/ParserGridDistribution.hpp b/include/picongpu/initialization/ParserGridDistribution.hpp
index e41a8cdc6..53c395952 100644
--- a/include/picongpu/initialization/ParserGridDistribution.hpp
+++ b/include/picongpu/initialization/ParserGridDistribution.hpp
@@ -24,7 +24,7 @@
#include <string> // std::string
#include <iterator> // std::distance
-#include <boost/regex.hpp>
+// include <boost/regex.hpp>
#include <boost/lexical_cast.hpp>
@@ -142,6 +142,9 @@ private:
value_type
parse( std::string const s ) const
{
+ value_type newInput;
+
+#if 0
boost::regex regFind( "[0-9]+(\\{[0-9]+\\})*",
boost::regex_constants::perl );
@@ -179,7 +182,7 @@ private:
};
newInput.emplace_back( g );
}
-
+#endif
return newInput;
} |
With gcc-4.9.2, not any err here. |
@ax3l If |
fix ComputationalRadiationPhysics#2898 Split the grid parser into a interface file `hpp` and the implementation `cpp` to avoid that boost regex is parsed by nvcc. Boost regex is very often the root of compile issues because nvcc is not able to split the host and device part correctly. Split `ParserGridDistribution` to avoid t
fix ComputationalRadiationPhysics#2898 Split the grid parser into a interface file `hpp` and the implementation `cpp` to avoid that boost regex is parsed by nvcc. Boost regex is very often the root of compile issues because nvcc is not able to split the host and device part correctly.
@BifengLei please be aware that GCC 7.3.1 is newer than what NVCC 9.2 "knew" (think: "could test against") at its release (May 2018). |
@ax3l Thanks a lot. I will try GCC7.3.0 or lower version later. |
fix ComputationalRadiationPhysics#2898 Split the grid parser into a interface file `hpp` and the implementation `cpp` to avoid that boost regex is parsed by nvcc. Boost regex is very often the root of compile issues because nvcc is not able to split the host and device part correctly.
@BifengLei this problem should be solved in our |
fix ComputationalRadiationPhysics#2898 Split the grid parser into a interface file `hpp` and the implementation `cpp` to avoid that boost regex is parsed by nvcc. Boost regex is very often the root of compile issues because nvcc is not able to split the host and device part correctly.
fix ComputationalRadiationPhysics#2898 Split the grid parser into a interface file `hpp` and the implementation `cpp` to avoid that boost regex is parsed by nvcc. Boost regex is very often the root of compile issues because nvcc is not able to split the host and device part correctly.
In combination with:
I have checked the issue here:
#2714 (comment)
But, there is still such err in ResourceLog.hpp:
The text was updated successfully, but these errors were encountered: