-
Dear MOPAC Community, I built a mopac-22.0.4 binary by using MinGW 6.3, cmake 3.13, GNU make 3.81, gfortran 4.6.2 and OpenBLAS-0.3.23 on Windows XP SP3. Cmake and make completed successfully. On test runs, all SCF jobs apparently fail with "dsyevd Diagonalization error., CODE=...". PM6.mop
PM6.out
A simple program to check dsyevd functionality works normally. test.f90
Any ideas will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
This does not appear to be a problem with LAPACK ( I have briefly tinkered with building MOPAC on MinGW and MSYS 2 in the past and don't remember any problems other than an inability to combine Intel libraries (i.e. MKL) with GNU libraries in these environments. I can attempt to replicate this problem in a similar environment and get back to you about this. Is there a reason that you aren't using the latest version of MOPAC? You are using CMake 3.13 here, and latest versions require 3.14, so I suspect that you are using the older version because of limitations in the version of CMake available to you? Any other information that you provide could be helpful. Are you compiling in a Cygwin environment, in MSYS2, in WSL, or in some other Linux-like environment in Windows? Can you post a CMake log? This problem could depend on the environment, so I might not be able to replicate it without more information. |
Beta Was this translation helpful? Give feedback.
-
Ok, I have an update. While the links above to the various software versions you are using were helpful, I was unable to get that version of gfortran working correctly from that distribution point. I ended up installing MinGW (with make and gfortran) from the MinGW installer at [https://osdn.net/projects/mingw/], which had much newer versions of everything. I compiled both OpenBLAS and MOPAC from a DOS command prompt using CMake 3.13 and your options, and everything seems to work fine. Are you compiling OpenBLAS yourself, or are you using a pre-compiled version? If you are compiling it, are you using the default makefile or CMake? Are you able to install these updated versions of MinGW tools on a Windows XP machine? I would recommend trying again using the latest version of MinGW, and if MOPAC still isn't working, then the issue must be related to Windows 10 vs. Windows XP. Once you've tried this on your end, I'll try to set up a Windows XP virtual machine and compile MOPAC on there if you are still having problems. |
Beta Was this translation helpful? Give feedback.
Dear Dr. Moussa
I am happy to report that I was able to build mopac-22.0.4 on a standalone XP machine using the 32-bit version of MinGW which you taught.
The followings are an instruction-style description how I acutually did :
Install the latest MinGW on an offline XP machine
Follow the "MinGW Installation Manager Setup Tool" wizard to install "MinGW Installation Manager" (mingw-get.exe), which will be installed to C:\MinGW (where are changable) by default.