User Tools

Site Tools


howto:windows

This is an old revision of the document!


Running Windows applications

Fortunately, open-source scientific software applications, even those with Graphical User Interfaces, are most often developed on Linux. Those that have been developed on other operating systems generally also have build configurations for Linux. However, there are some applications that are only available on Windows. For the most part, these should be used on personal workstations or laptop computers. However, there are some exceptional circumstances where it might be useful to run these applications on the cluster:

  • The Linux-based analysis or simulation software has no GUI, but there is a Windows GUI.
  • The Windows application may be a pre- or post-processor for a native Linux application.
  • If the user lacks a workstation with sufficient resource such as memory or processing power.

Have some Wine

Wine (originally an acronym for “Wine Is Not an Emulator”) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. Installing Wine on a Linux system is a non-trivial task, which may require root access. This would introduce serious and unacceptable security issues. However, Wine can be accessed by way of a Singularity container. Singularity-3.5.3 is available on Linux and the container for WineHQ has been installed in

/home/apps/chpc/compmech/Wine/winehq.sif

Therefore, if you need to run a Windows application on the cluster, you can do so as follows:

module load chpc/singularity/3.5.3
singularity run /home/apps/chpc/compmech/Wine/winehq.sif  WindowsExecutable.exe

If Wine needs to install anything, it will do so in a hidden directory in your home directory. For example:

ls -l ~/.wine
total 2536
drwxr-xr-x 2 jblogs jblogs        112 Apr 17 21:56 dosdevices
drwxr-xr-x 7 jblogs jblogs         96 Apr 12 12:18 drive_c
-rw-r--r-- 1 jblogs jblogs    2558225 Apr 17 21:56 system.reg
-rw-r--r-- 1 jblogs jblogs       3306 Apr 12 12:09 userdef.reg
-rw-r--r-- 1 jblogs jblogs      29256 Apr 17 21:56 user.reg
/app/dokuwiki/data/attic/howto/windows.1713384144.txt.gz · Last modified: 2024/04/17 22:02 by ccrosby