Open FranklinBetten opened 5 years ago
I am not really sure how that code is supposed to look like - but I think the error tells you that executable
is not set, and that OpenMP
is not a valid variable name in that code. Is the latter maybe supposed to be a string ("OpenMP"
)? On the RP layer, you would use the define rp.OpenMP
, FWIW, but I do not know how EnTK exposes this (if at all)
Hey @FranklinBetten , Andre pointed out correctly. Both mpi and openmp have to be strings, i.e., use 'MPI' and 'OpenMP'.
I also think there you are missing specification of the executable of a Task, which is mandatory.
Attribute executable in None undefined
I believe it shows up as 'None' since we currently look for a uid and not a name, and the uid is not assigned at this point.
I pushed an updated runmy.py to the git. It gives the same error though. Is there any other issue that could be causing this? I also checked and it looks like all of the Task() and add_tasks() are correct.
I am currently a little stuck. Do I need to load a multiprocessing library? I see that in some of Eugenes codes but not all of them.
Hey Franklin, I just pushed a commit where I addressed the error. There were some tasks which had not be assigned an executable. See if that makes sense. Let me know how it goes!
I have done some debugging of the code and I cannot seem figure out why MPI and OpenMP are not accepted parameters.
radical stack
cpu_reqs settings in runme.py
executing runme.py from the terminal
cpu_reqs settings in runme.py
executing runme.py from the terminal
When I set both options to None I get this error