Can NWChem be compiled usingc99?


Clicked A Few Times
Is this supported? I want to interface NWChem with a library that uses c99 extensively and I think this may be causing problems with some string parsing.

Forum Vet
We have never tried it. I would try and take a slightly different approach, compiling NWChem with a standard C compiler and link it against the c99 library. I don't know if they will be compatible or not.

Bert

Clicked A Few Times
The linking happens without issue but passing a string from the standard to the c99 part causes a segmentation violation. The library handles it just fine if I pass the string from a dummy program so that both the library and the program are compiled with c99, but literally cutting and pasting the same call into the interface between nwchem and the library results in a segmentation violation within the guts of the library.


Forum >> NWChem's corner >> Compiling NWChem