Skip to content
Snippets Groups Projects
Commit 502a2d46 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fix in command arguments

The previous fix for AIX breaks it on linux. I now use command_argument_counts()
which apparently is the standard way
parent 5ed8e2b8
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,6 @@ logical :: has_parfile ! a flag for the parameter file
logical :: plumed
integer :: plumedavailable
integer, external :: iargc
CALL plumed_installed(plumedavailable)
plumed=.false.
......@@ -66,7 +64,7 @@ IF(plumed) THEN
CALL plumed_g_create()
END IF
argcount = iargc()
argcount = command_argument_count()
has_parfile=.false.
do i=1,argcount
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment