Windows VASP binary base don Cygwing on MSYS2 ?

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
husakm
Newbie
Newbie
Posts: 1
Joined: Thu Nov 28, 2024 12:03 pm

Windows VASP binary base don Cygwing on MSYS2 ?

#1 Post by husakm » Thu Nov 28, 2024 9:18 pm

Hi

I had successfully compiled several QM programs (Quantum Espresso, CASTEP) on Windows
by the help of Cygwin or MSYS2 environment.
VASP resist
Issues:

1) In MSYS2 the compilations stop on following :
timing_.c #include <times.h>

Not full POSIX emulation ?

2) On Cygwing the compilations stops immediately after :
rsync -u ../../src/*.F ../../src/*.inc .
make[1]: *** [makefile:137: sources] Error 127

If anybody have any experiences with native VASP build, please let me know ...

Michal Husak, UCT Prague


pedro_melo
Global Moderator
Global Moderator
Posts: 153
Joined: Thu Nov 03, 2022 1:03 pm

Re: Windows VASP binary base don Cygwing on MSYS2 ?

#2 Post by pedro_melo » Fri Nov 29, 2024 10:38 am

Dear husakm,

I am unfamiliar with compilation on Windows, so I would ask you to share the compilation files/setup you are using that gives these errors.

Kind regards,
Pedro


pedro_melo
Global Moderator
Global Moderator
Posts: 153
Joined: Thu Nov 03, 2022 1:03 pm

Re: Windows VASP binary base don Cygwing on MSYS2 ?

#3 Post by pedro_melo » Mon Dec 02, 2024 1:40 pm

Dear husakm,

I spoke with my colleagues, and the verdict was that Cygwin is not a good platform to use for installing VASP. We advise you to try using WSL2 instead, since it was specifically developed by Microsoft to be compatible with Linux developed tools. Please try the following steps:

  • Install WSL2 following these instructions.

  • Go to the Microsoft store and search for 'WSL Ubuntu' and install the latest release.

  • Start the WSL Ubuntu and install VASP.

Kind regards,
Pedro


pedro_melo
Global Moderator
Global Moderator
Posts: 153
Joined: Thu Nov 03, 2022 1:03 pm

Re: Windows VASP binary base don Cygwing on MSYS2 ?

#4 Post by pedro_melo » Mon Dec 02, 2024 2:27 pm

Dear kusakm,

Furthermore, you can see here some examples of instructions on how to install VASP on Ubuntu.

Kind regards,
Pedro


Post Reply