Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown error! Could not convert string "if" to float64 at row 0, colum 1 #96

Open
Tangbbmc opened this issue Feb 21, 2023 · 10 comments
Open

Comments

@Tangbbmc
Copy link

bfee2

Running post-treatment reported a error mentioned above.

@HanatoK
Copy link
Collaborator

HanatoK commented Feb 21, 2023

@Tangbbmc
You need to run the shell scripts (.sh files) following the Readme.txt to calculate the PMFs, and then select the PMFs in the Post-treatment tab in BFEE2 to estimate the binding free energy. The .sh files are not expected to be used for post-treatments.

@Tangbbmc
Copy link
Author

Tangbbmc commented Feb 21, 2023 via email

@HanatoK
Copy link
Collaborator

HanatoK commented Feb 21, 2023

@Tangbbmc
Could you upload 000_eq.mdp?

@Tangbbmc
Copy link
Author

@HanatoK Ok. The files I used were generated from the input files for testing BFEE2, which were provided by you (from your published paper).
000_eq.zip

@HanatoK
Copy link
Collaborator

HanatoK commented Feb 21, 2023

@Tangbbmc
As shown in your 000_eq.mdp, it seems you have already run the .sh file on your local computer with GROMACS 2022.4, and then moved it to somewhere else with GROMACS 2020.2 to continue. The GROMACS mdp file is not backward compatible. It should be better if you can proceed all operations using the same version of GROMACS.

@Tangbbmc
Copy link
Author

Tangbbmc commented Feb 22, 2023 via email

@HanatoK
Copy link
Collaborator

HanatoK commented Feb 22, 2023

@Tangbbmc
It seems the new version of GROMACS warns the use of Berendsen barostats. To avoid this warning I propose to change the default barostats to Parrinello-Rahman. The new code is in #97 for review. After that we will make a new BFEE2 release to solve this issue.

For the time being, you can solve your problem by changing pcoupl = Berendsen to pcoupl = Parrinello-Rahman in all .mdp files after generating them by BFEE2.

Thanks!

@Tangbbmc
Copy link
Author

@HanatoK Thank you for patient explanation! The 000_eq.tpr file was successfully generated using the method you suggested. Subsequently, the terminal prompted me to run this command "gmx mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s 000_eq.tpr -deffnm output/000_eq.out -colvars 000_colvars.dat". After doing that, a error "Unknown command-line option -colvars" happened. Could you tell me how to run 000_eq/000_eq.tpr? Thank you!

Running log:
GROMACS reminds you: "Your Bones Got a Little Machine" (Pixies)

You can now run gromacs by the following example:
/cygdrive/d/gmx2022.4/bin/gmx mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s 000_eq.tpr -deffnm output/000_eq.out -colvars 000_colvars.dat

tangw@DESKTOP-JLLRJL9 /cygdrive/c/Users/tangw/Desktop/gmx_MMPBSA/BFEE2/test/pre-treatment/Gromacs/BFEE/000_eq
$ /cygdrive/d/gmx2022.4/bin/gmx mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s 000_eq.tpr -deffnm output/000_eq.out -colvars 000_colvars.dat
:-) GROMACS - gmx mdrun, 2022.4 (-:

Executable: D:\gmx2022.4\bin\gmx.exe
Data prefix: D:\gmx2022.4
Working dir: C:\Users\tangw\Desktop\gmx_MMPBSA\BFEE2\test\pre-treatment\Gromacs\BFEE\000_eq
Command line:
gmx mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s 000_eq.tpr -deffnm output/000_eq.out -colvars 000_colv
ars.dat


Program: gmx mdrun, version 2022.4
Source file: src\gromacs\commandline\cmdlineparser.cpp (line 271)
Function: void __cdecl gmx::CommandLineParser::parse(int *,char *[])

Error in user input:
Invalid command-line options
Unknown command-line option -colvars

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors

@HanatoK
Copy link
Collaborator

HanatoK commented Feb 23, 2023

@Tangbbmc
Your GROMACS build doesn't support Colvars, which is required to perform the necessary PMF calculations. Please refer to https://github.com/Colvars/colvars/#gromacs-colvars-releases for more information.

@Tangbbmc
Copy link
Author

Tangbbmc commented Feb 23, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants