Topic Options
#20359 - 03/06/09 02:06 PM Compiling c35b2 with REPDSTR
tim Offline

Administrator
Forum Member

Registered: 10/24/04
Posts: 371
Loc: Rockville, MD
All,

From my experience, two modifications need to be made to compile c35b2 with the REPDSTR keyword.

First, a module dependency is not set up correctly. It is necessary to edit build/UNX/dynamc.mk, scroll down to the lines beginning with:

$(LIB)/dynamc.a(dcntrl.o) :

It is necessary to add one more of these lines, with:

$(LIB)/dynamc.a(dcntrl.o) : $(LIB)/gener.a(repdstr.o)

Secondly, source/charmm/miscom.src must be edited, immediately after the lines:


##IF RMD
use cross, only: CROSSINIT,QCROS
##ENDIF


it is necessary to add:


##IF REPDSTR
use repdstrmod
##ENDIF


For convenience, I have attached a diff of these changes. Once these were made, I was able to compile c35b2 with REPDSTR.


Attachments
20686-repdstr-compile-diff.txt (498 downloads)


Top
#27736 - 06/24/11 01:03 PM Re: Compiling c35b2 with REPDSTR [Re: tim]
Dennis McRitchie Offline
Forum Member

Registered: 06/23/11
Posts: 1
As of c35b6, these two required fixes have not been applied to the code base.

Also, it is necessary to add the REPDSTR compile keyword to the install.com command line for the repdstr module to be built:

./install.com ... +REPDSTR

Top
#27737 - 06/24/11 01:25 PM Re: Compiling c35b2 with REPDSTR [Re: Dennis McRitchie]
rmv Online   content

Forum Member

Registered: 09/17/03
Posts: 8314
Loc: 39 03 48 N, 77 06 54 W
Unfortunately, most of the REPDSTR changes and effort have been focused on the c36alpha versions.
_________________________
Rick Venable
computational chemist


Top
#29962 - 05/01/12 02:12 PM Re: Compiling c35b2 with REPDSTR [Re: tim]
Peng Lian Offline
Forum Member

Registered: 03/19/11
Posts: 2
Thank you Tim,

It works fine with my c35b5, after I added the keyword "REPDSTR" to the file "build/em64t/pref.dat" before compiling.

Top

Moderator:  BRBrooks, bucknerj, chmgr, John Legato