I have been trying to go through the WESTPA NAMD tutorial with Chingolin, and have a question regarding an error I am having. I was able to get the NaCl NAMD tutorial to work, but not Chingolin. Has anyone else been able to use WESTPA with NAMD for a protein?
When I tried running init.sh, I was given the error:
w_init: error: unrecognized arguments: --wm-work-manager=threads
Regarding the following line in init.sh:
$WEST_ROOT/bin/w_init $BSTATE_ARGS $TSTATE_ARGS --segs-per-state 4 --wm-work-manager=threads "$@"
I thought this may have to do with different WESTPA versions, so I changed this line to:
$WEST_ROOT/bin/w_init $BSTATE_ARGS $TSTATE_ARGS --segs-per-state 4 --work-manager=threads "$@"
This, however, gives me a new error when I run ./init.sh that I don't know how to resolve:
$./init.sh
simulation chig_namd_new root is /Users/haziq/Documents/westpa/westpa/chig_namd_new
Creating HDF5 file '/Users/haziq/Documents/westpa/westpa/chig_namd_new/west.h5'
1 target state(s) present
Calculating progress coordinate values for basis states.
-- WARNING [py.warnings] -- //anaconda/lib/python2.7/site-packages/numpy/lib/npyio.py:891: UserWarning: loadtxt: Empty input file: "/var/folders/fd/z56fbw1917l8ly588lvfbt8m0000gz/T/tmpLPSPsw"
warnings.warn('loadtxt: Empty input file: "%s"' % fname)
Traceback (most recent call last):
File "/Users/haziq/Documents/westpa/westpa/lib/cmds/w_init.py", line 125, in <module>
suppress_we=args.shotgun)
File "/Users/haziq/Documents/westpa/westpa/src/west/sim_manager.py", line 249, in initialize_simulation
self.get_bstate_pcoords(basis_states)
File "/Users/haziq/Documents/westpa/westpa/src/west/sim_manager.py", line 201, in get_bstate_pcoords
basis_states[fmap[future]].pcoord = future.get_result().pcoord
File "/Users/haziq/Documents/westpa/westpa/lib/wwmgr/work_managers/threads.py", line 36, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/haziq/Documents/westpa/westpa/src/west/wm_ops.py", line 26, in get_pcoord
propagator.get_pcoord(state)
File "/Users/haziq/Documents/westpa/westpa/src/west/propagators/executable.py", line 395, in get_pcoord
loader('pcoord', rfname, state, single_point = True)
File "/Users/haziq/Documents/westpa/westpa/src/west/propagators/executable.py", line 59, in pcoord_loader
expected_shape))
ValueError: progress coordinate data has incorrect shape (0,) [expected (1,)]
How can I resolve this problem?
Thanks!