compile zephyr on windows

OpenMM Zephyr provides a visual application for running GPU-accelerated molecular simulations.
User avatar
Jack Shultz
Posts: 77
Joined: Thu May 28, 2009 6:49 pm

RE: compile zephyr on windows

Post by Jack Shultz » Thu Jul 23, 2009 2:35 pm

Ok made some progress. I figured it would make sense to use the libraries that come with the compiled version of zephyr. I did that and it built! Now when I run the apps, I get these errors.


Debug Error!

Program: C:\Zephyr0.5\src\src\kernel\Debugmdrun_openmm.exe
Module: C:\Zephyr0.5\src\src\kernel\Debug\mdrun_openmm.exe
File: C:\Zephyr0.5\src\src\gmxlib\futil.c
Line: 490

Run-time Check Failure #2 - Stack around the variable 'buf' was corrupted

(Press Retry to debug the application)

hit ignore

Debug Error!

Program: C:\Zephyr0.5\src\src\kernel\Debugmdrun_openmm.exe
Module: C:\Zephyr0.5\src\src\kernel\Debug\mdrun_openmm.exe
File: C:\Zephyr0.5\src\src\gmxlib\futil.c
Line: 490

Run-time Check Failure #2 - Stack around the variable 'full-path' was corrupted

(Press Retry to debug the application)

hit ignore

Debug Error!

Program: C:\Zephyr0.5\src\src\kernel\Debugmdrun_openmm.exe
Module: C:\Zephyr0.5\src\src\kernel\Debug\mdrun_openmm.exe
File: C:\Zephyr0.5\src\src\gmxlib\futil.c
Line: 490

Run-time Check Failure #2 - Stack around the variable 'test_file' was corrupted

(Press Retry to debug the application)

Debug Error!

Program: C:\Zephyr0.5\src\src\kernel\Debugmdrun_openmm.exe
Module: C:\Zephyr0.5\src\src\kernel\Debug\mdrun_openmm.exe
File: C:\Zephyr0.5\src\src\gmxlib\futil.c
Line: 490

Run-time Check Failure #2 - Stack around the variable 'system_path' was corrupted

(Press Retry to debug the application)

hit ignore

If i hit retry it fails and I view the problem details.

Problem signature:
Problem Event Name: APPCRASH
Application Name: mdrun_openmm.exe
Application Version: 0.0.0.0
Application Timestamp: 4a68baa5
Fault Module Name: ntdll.dll
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a783
Exception Code: 80000003
Exception Offset: 00010004
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 1033
Additional Information 1: fd00
Additional Information 2: ea6f5fe8924aaa756324d57f87834160
Additional Information 3: fd00
Additional Information 4: ea6f5fe8924aaa756324d57f87834160

Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409



User avatar
Jack Shultz
Posts: 77
Joined: Thu May 28, 2009 6:49 pm

RE: compile zephyr on windows

Post by Jack Shultz » Thu Jul 23, 2009 3:49 pm

I tried building release version and it works!!!

User avatar
Jack Shultz
Posts: 77
Joined: Thu May 28, 2009 6:49 pm

RE: compile zephyr on windows

Post by Jack Shultz » Mon Jan 10, 2011 7:57 pm

All projects in the solution file built except mdrun_openmm. Any ideas? I have used the most recent pre-compiled openmm libraries.

1>------ Build started: Project: mdrun_openmm, Configuration: Release Win32 ------
1>Compiling...
1>md_openmm.cpp
1>.\md_openmm.cpp(36) : error C2143: syntax error : missing ';' before '*'
1>.\md_openmm.cpp(36) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\md_openmm.cpp(36) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\md_openmm.cpp(208) : warning C4018: '<' : signed/unsigned mismatch
1>.\md_openmm.cpp(289) : error C2039: 'setPeriodicBoxVectors' : is not a member of 'OpenMM::NonbondedForce'
1> c:\program files\openmm\include\openmm/NonbondedForce.h(68) : see declaration of 'OpenMM::NonbondedForce'
1>.\md_openmm.cpp(418) : error C2065: 'OpenMMContext' : undeclared identifier
1>.\md_openmm.cpp(418) : error C2065: 'context' : undeclared identifier
1>.\md_openmm.cpp(418) : error C2061: syntax error : identifier 'OpenMMContext'
1>.\md_openmm.cpp(419) : error C2065: 'context' : undeclared identifier
1>.\md_openmm.cpp(419) : error C2227: left of '->getPlatform' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>.\md_openmm.cpp(419) : error C2228: left of '.getName' must have class/struct/union
1>.\md_openmm.cpp(419) : error C2228: left of '.c_str' must have class/struct/union
1>.\md_openmm.cpp(427) : error C2065: 'context' : undeclared identifier
1>.\md_openmm.cpp(427) : error C2227: left of '->setPositions' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>.\md_openmm.cpp(428) : error C2065: 'context' : undeclared identifier
1>.\md_openmm.cpp(428) : error C2227: left of '->setVelocities' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>.\md_openmm.cpp(435) : error C2039: 'context' : is not a member of 'OpenMMData'
1> .\md_openmm.cpp(33) : see declaration of 'OpenMMData'
1>.\md_openmm.cpp(474) : error C2039: 'context' : is not a member of 'OpenMMData'
1> .\md_openmm.cpp(33) : see declaration of 'OpenMMData'
1>.\md_openmm.cpp(495) : error C2039: 'context' : is not a member of 'OpenMMData'
1> .\md_openmm.cpp(33) : see declaration of 'OpenMMData'
1>.\md_openmm.cpp(495) : error C2227: left of '->getState' must point to class/struct/union/generic type
1>.\md_openmm.cpp(495) : error C2512: 'OpenMM::State' : no appropriate default constructor available
1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\projects\zephyr\src\kernel\mdrun_openmm.dir\Release\BuildLog.htm"
1>mdrun_openmm - 20 error(s), 1 warning(s)
2>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------
2>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 91 up-to-date, 1 skipped ==========

POST REPLY