Compiling with IBM xlC compiler - restrict
Asked by
Chris Richardson
I am compiling dolfin on a machine with the IBM xl compilers.
"restrict" appears to be a reserved word on this compiler, so I have had to go though and replace all occurences of "restrict" with e.g. "restrict0".
Is there any chance this might be changed?
Also, I have quite a few errors with armadillo - I guess this is no surprise...
In armadillo-3.6.1, the following changes:
eop_core_bones.hpp - remove "inline" from lines 26-31
SpValproxy_meat.hpp - change "typename T1" to "typename T1:elem_type" at line 321
Mat_bones.hpp - add "#define ARMA_GCC47_BUG 1" before line 562
seems to make it compile.... if anyone else has some better tips, let me know...
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Sandve Alnæs
- Solved:
- Last query:
- Last reply:
To post a message you must log in.