Open krlitros87 opened 7 years ago
???
BROMOC is a fork of GCMC/BD but it is not the same program. BROMOC has its own manual it would be worth reading it. There is a tutorial also that will help you generate new working input files. The last version of bromoc is not updated in this page. You should go to my github site. https://github.com/pablodebiase/bromoc Here is the tutorial I was talking about: https://github.com/pablodebiase/bromoc-tutorial Here is the manual: https://github.com/pablodebiase/bromoc/blob/master/cg-gcmc-bd/doc/bromoc.doc
If you want to simulate other molecules (coarse grain or all atoms) instead of just a DNA you can use the new fork called BROMOC-E. You can model any molecule as a solute (BD) or solvent (GCMC/BD) using a CHARMM force field file format. Here is the link to the code: https://github.com/pablodebiase/bromoc-e_suite
Answering your previous question the unit flag is just the number assigned to the opened file. It has nothing to do with the order. The reason why it wasn't working for you was because your syntax for loading rfpar maps is incorrect. If you go to the manual:
[GSBP] {adjust} {phiv} svdw (real) vzmin (real) vzmax (real) {bspline} {nmcden} phivunit (integer) [thold27 (real)] [thold8 (real)] [repwalls (integer)] {phix} phixunit (integer) {rfpar} rfparunit (integer,integer,...) [rfparfac (real)] {rfpsingle}
.....
Here is an example of how you should load your reaction field parameters:
example 2: same repulsive potentials [phiv] for the ion types, static field [phix], and different reaction field parameters for the ion types
open read unit 11 file name phiv.bin ! particle open read unit 13 file name phix.bin open read unit 14 file name rfpar_pot.bin ! particle POT should be defined first open read unit 15 file name rfpar_cla.bin ! particle CLA should be defined second
gsbp svdw 50.0 phiv phivunit 11 phix phixunit 13 rfpar rfparunit 14,15
close unit 11 close unit 13 close unit 14 close unit 15
Dear all, I'm a beginner in Brownian dynamics (have some experiences in molecular dynamic simulations though), and I had some problems just creating the system/files in order to use bromoc. Based on the previous I found really helpful the charmm-gui module to prepare the BD systems-> http://www.charmm-gui.org/?doc=input/gcmcbd (which of course I used to create the input files for the simulation). Surprisingly, pb-pnp worked well and I was able to create all 3 (phiv, phix and rfpar) .bin files that will be use in the gcmc/bd simulations. PHIV
PHIX
RFPAR
Unfortunately, when I used bromoc I found some issues: GCMC/BD
First of, I noticed that in bromoc one should add a SYSTEM flag. Since charmm-gui didn't add it, I added only basic information of the system (SYSTEM LX 135 LY 119 LZ 126.96). After adding this line I got the following error message:
OPEN read unit 31 file name step4_phix.bin
fatal error at shell_simul : unit is greater than maxopen
STOP 1 If I'm not wrong, the unit flag only determines the ''order'' to write files, right? (please let me know if I'm wrong). Anyway, based on the previously described, I change the unit values of the files:
But now I found the following error:
OPEN read unit 11 file name step4_phiv.bin
OPEN read unit 12 file name step4_phix.bin
OPEN read unit 13 file name step4_rfpar.bin
OPEN read unit 14 file name step4_rfpar.bin
At line 234 of file shell_simul.f90 (unit = 7) Fortran runtime error: File already opened in another unit I know what the error means, but in the input generated by charmm-gui is stipulate that I should the same rfpar for both ions (POT and CLA), so I really don't know what to do. Probably my problem is really silly, but this is my first time working with any related to BD simulations and even with fortran, so any advices are more than welcome. Best regards, Carlos