diff --git a/src/clients/POSIX/qsub2pbs.py b/src/clients/POSIX/qsub2pbs.py index 929a95439c01ff579817b245142d7632444c29ae..86347529c3497f08d0706e669ace5540843c2239 100755 --- a/src/clients/POSIX/qsub2pbs.py +++ b/src/clients/POSIX/qsub2pbs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2017 UChicago Argonne, LLC. All rights reserved. # Licensed under a modified BSD 3-clause license. See LICENSE for details. """ @@ -272,6 +272,8 @@ def convert_to_pbs(opts, spec): if opts['directives']: for i in range(len(parms)): print('#PBS ' + parms[i]) + print('\nNOTE: Directives should be immediately below the shebang line (#!/bin/bash or similar)') + print('PBS will stop procesing directives once it detects the first executable command') else: parms.append(spec['command']) parms.append(' '.join(spec['args']))