Open zbeekman opened 6 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Defect/Bug Report
See also #460 for additional context. The
caftan
script requires-np
and<N_IMAGES>
as the first and second argument (when not passing--show
. Worse yet,--show
gives no indication that there will be problems if you add an additional argument tocaftan
ahead of-np <N>
.uname -a
: Linux on Travis-CIObserved Behavior
Users pass
--oversubscribe
(required for OpenMPI) ahead of-np 5
etc. and things blow upExpected Behavior
Parse options with arguments correctly. This will make the code cleaner and more generic too.
Steps to Reproduce
cafrun --show --oversubscribe -np 4 FORTRAN/transpose-coarray 10 1024 32
cafrun --oversubscribe -np 4 FORTRAN/transpose-coarray 10 1024 32
Put @zbeekman in the corner of shell scripting shame