Skip to content

plasticity FAQ's

Shiva Rudraraju edited this page Sep 3, 2015 · 2 revisions

Question: I am getting "to_string" error during compile/link. What to do?

This is due to a minor issue with to_string being available in both std:: and boost:: libraries. We are working on fixing the namespaces correctly. Untill then if you get his error, replace the two occurrences of "std::to_string" with "boost::to_string" or vice-versa in the file /src/utilityObjects/crystalOrientationsIO.cc. We will fix this in our next code update.

Question: Why is my code slow? Or why is debug mode slow?

Are you in debug mode?. Debug mode is only for development. Run in release mode (make release; make run).

Please note that the default setting when you "make" your program is for debug compilation. For production jobs, you need to call "make release" to switch to optimized mode.

Question: I have both pvtu and vtu output files...why do I open in Visit/Paraview?

If your program generates *.pvtu files, then open pvtu files in the visualization software instead of vtu files. pvtu files are text files which have pointers to the vtu files generated by each processor in a parallel job.

Question: Only a small portion of my problem domain is shown by the visualization package.?

This may be expected if you have pvtu files pointing to vtu files from a previous job which were run with different number of processors. Delete existing pvtu, vtu files and run your job.
Clone this wiki locally