Skip to content

Commit 0397a4e

Browse files
Merge pull request #1201 from OceanParcels/Fixing_sh_None_command_not_found_warning
Fixing the `sh: None: command not found warning`
2 parents ad1ef0c + 2b122d5 commit 0397a4e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

parcels/compilation/codecompiler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def __init__(self, cppargs=None, ldargs=None, incdirs=None, libdirs=None, libs=N
9797
mpicc = mpicc_env
9898
mpicc = "mpicc" if mpicc is None and os._exists("mpicc") else None
9999
mpicc = "mpiCC" if mpicc is None and os._exists("mpiCC") else None
100-
os.system("%s --version" % (mpicc))
101100
self._compiler = mpicc if MPI and mpicc is not None else cc_env if cc_env is not None else "gcc"
102101
opt_flags = ['-g', '-O3']
103102
arch_flag = ['-m64' if calcsize("P") == 8 else '-m32']

0 commit comments

Comments
 (0)