adjust path for includelink to find the Plumed.h wrapper properly

This commit is contained in:
Axel Kohlmeyer 2018-10-28 21:30:37 -04:00
parent e788ffe210
commit bfbf5695fd
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ if linkflag:
os.remove("includelink")
if os.path.isfile("liblink") or os.path.islink("liblink"):
os.remove("liblink")
cmd = 'ln -s "%s/plumed2/include" includelink' % homepath
cmd = 'ln -s "%s/plumed2/include/plumed/wrapper" includelink' % homepath
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
cmd = 'ln -s "%s/plumed2/lib" liblink' % homepath
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)