Compilation Errors when Using Custom Object on HPC #31717
-
|
Hello, When trying to remake my app with a custom object I get the following errors. What's strange is these errors only occur when using the HPC and GCC compiler, on my local device I only get the 'return-type' warning, but the compilation occurs without issue and I can use the objects in my code. The HPC seems to immediately reject the objects. I've tried having GCC ignore the warnings, but I haven't been able to give it the correct executable. I don't think it's and issue with the objects as I can run them on my local device. Any help is greatly appreciated, thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hello @Supernova963 where did you find this /XFEMMovingInterfaceVelocity.C file? Is it from your application? Either way, the mistakes a pretty simple to fix:
just re-order member attributes in the constructor to be in the same order as in the class declaration in the header
find the missing "}"
Can you re-clone on HPC? And make sure to pick a recent version of MOOSE |
Beta Was this translation helpful? Give feedback.
in header
in source