#1667: ExternalLibraries/MPI should report error messages ---------------------+------------------------------------------------------ Reporter: hinder | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: MPI ---------------------+------------------------------------------------------
Comment (by hinder):
Cactus should capture the output for each script, and if the script fails, the output and error messages should be available, and probably printed. If Cactus is incapable of displaying stderr when there is an error, and suppressing it when there isn't, then it could at least tell the user how to proceed. e.g., instead of printing "(no error message)" it could say: {{{ Running configuration script for thorn MPI: Found mpi compiler wrapper at /cluster/openmpi/SL6/1.7.2/intel14/bin/mpic++! MPI could not be configured.
CST error 1: -> Configuration script for thorn MPI returned exit code 5 Error message suppressed due to VERBOSE=no. Additional diagnostic output may be available if you recompile with VERBOSE=yes.
Finished running configuration script for thorn MPI. }}} But I think the better solution would be to capture stdout and stderr to a file when running the script, and displaying them in the case that the script fails and doesn't return a begin/end error message.