If your code is compiled for both systems ( DEC & HP ) you can submit your jobs independently from the architecture. Following the usual scheme shown in the chapter5 you can modify the script as follow: