This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:windows [2024/04/17 22:02] ccrosby [Have some Wine] |
howto:windows [2024/04/17 22:39] (current) ccrosby [Running Windows applications] |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * The Linux-based analysis or simulation software has no GUI, but there is a Windows GUI. | * 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. | * The Windows application may be a pre- or post-processor for a native Linux application. | ||
| - | * If the user lacks a workstation with sufficient | + | * If the user lacks a workstation with sufficient |
| + | |||
| + | ==== Consider Cloud ==== | ||
| + | The CHPC has its own [[https:// | ||
| ==== Have some Wine ==== | ==== Have some Wine ==== | ||
| - | [[https:// | + | [[https:// |
| - | < | + | |
| - | / | + | |
| - | </ | + | |
| Therefore, if you need to run a Windows application on the cluster, you can do so as follows: | Therefore, if you need to run a Windows application on the cluster, you can do so as follows: | ||
| Line 17: | Line 17: | ||
| </ | </ | ||
| - | If Wine needs to install anything, it will do so in a hidden directory in your home directory. | + | You will need to provide the path to the .exe file. |
| < | < | ||
| - | ls -l ~/.wine | + | $ls -l ~/.wine |
| total 2536 | total 2536 | ||
| drwxr-xr-x 2 jblogs jblogs | drwxr-xr-x 2 jblogs jblogs | ||
| Line 27: | Line 27: | ||
| -rw-r--r-- 1 jblogs jblogs | -rw-r--r-- 1 jblogs jblogs | ||
| -rw-r--r-- 1 jblogs jblogs | -rw-r--r-- 1 jblogs jblogs | ||
| + | |||
| + | |||
| + | $ ls -l ~/ | ||
| + | total 4 | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x 18 jblogs jblogs 4096 Apr 12 12:21 windows | ||
| + | |||
| + | |||
| + | $ ls -l ~/ | ||
| + | total 0 | ||
| + | drwxr-xr-x 3 jblogs jblogs 21 Apr 12 12:09 AppData | ||
| + | drwxr-xr-x 4 jblogs jblogs 38 Apr 12 12:33 Application Data | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 2 jblogs jblogs 22 Apr 12 12:13 Cookies | ||
| + | lrwxrwxrwx 1 jblogs jblogs 21 Apr 12 12:20 Desktop -> / | ||
| + | lrwxrwxrwx 1 jblogs jblogs 23 Apr 12 12:20 Downloads -> / | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 5 jblogs jblogs 74 Apr 12 12:09 Local Settings | ||
| + | lrwxrwxrwx 1 jblogs jblogs 23 Apr 12 12:20 My Documents -> / | ||
| + | lrwxrwxrwx 1 jblogs jblogs 14 Apr 12 12:20 My Music -> / | ||
| + | lrwxrwxrwx 1 jblogs jblogs 14 Apr 12 12:20 My Pictures -> / | ||
| + | lrwxrwxrwx 1 jblogs jblogs 14 Apr 12 12:20 My Videos -> / | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | drwxr-xr-x 3 jblogs jblogs 21 Apr 12 12:09 Start Menu | ||
| + | drwxr-xr-x 2 jblogs jblogs | ||
| + | lrwxrwxrwx 1 jblogs jblogs 14 Apr 12 12:20 Templates -> / | ||
| </ | </ | ||
| + | |||
| + | The above file listing in '' | ||
| + | - Wine creates a Windows directory structure in your home directory. | ||
| + | - This could use up your home directory quota rather quickly. | ||
| + | - The " | ||
| + | |||
| + | === Wine example === | ||
| + | A Windows application may be installed in exactly the same way. The application will be installed in '' | ||
| + | < | ||
| + | $ singularity run / | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | It goes without saying that you need to use either X-forwarding or [[howto: | ||
| + | |||
| + | ==== Final thoughts on using Singularity and Wine ==== | ||
| + | * Don' | ||
| + | * Unless you cannot avoid it. | ||
| + | * The mere fact that something is possible does not automatically make it a good idea. | ||
| + | * We are not aware of a practical way of doing multi-node (MPI) runs. OpenMP shared-memory multi-thread parallelism does, however work, and makes good use of the available resources. | ||
| + | * Raw computational performance is very good, and is only marginally slower than the native Linux application. | ||
| + | * Compatibility is surprisingly good. Many things work, but, of course, there are no guarantees. | ||
| + | |||
| + | |||