Thanks. It'd be nice if MSVC did what it claims to do, and create more pages on demand for such allocations.
Mark On Wed, Jan 29, 2014 at 6:59 PM, Mirco Wahab < mirco.wa...@chemie.tu-freiberg.de> wrote: > On 29.01.2014 15:06, Mirco Wahab wrote: > >> A test run (martini small vesicle system, >> 250K atoms) did start promising but crashed >> after 15 min without any indication. (I'll >> try without gpu later). >> > > I identified the problem. It is the same problem > that also required a patch in the 4.6.x versions > on Windows. > > The default stack size with Visual Studio compilers > is 1MB, therefore you have to modify: > > - - - - - - - - - - - - - - - - - - - - - - - - - - - > > ../gromacs-5.0-beta2/src/gromacs/fileio/gmxfio.c > [gmxfio.c] l 680: > > #define CPT_CHK_LEN 1048576 > md5_state_t state; > unsigned char buf[CPT_CHK_LEN]; > > change last line to: > > static unsigned char buf[CPT_CHK_LEN]; > > - - - - - - - - - - - - - - - - - - - - - - - - - - - > > after this, builds and runs work perfectly. > > > M. > > -- > Gromacs Users mailing list > > * Please search the archive at http://www.gromacs.org/ > Support/Mailing_Lists/GMX-Users_List before posting! > > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists > > * For (un)subscribe requests visit > https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or > send a mail to gmx-users-requ...@gromacs.org. > -- Gromacs Users mailing list * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting! * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists * For (un)subscribe requests visit https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-requ...@gromacs.org.