2003 64 Bit Install: Magics

If you run Linux on your 64-bit machine, you can skip the VM entirely:

# Install 32-bit compatibility libraries and Wine
sudo apt install wine32

Instead of fighting 2003 binaries, use ECMWF’s modern Magics (version 3.x, 4.x), which is actively maintained, 64-bit, and has Python bindings. magics 2003 64 bit install

This is vastly easier and runs natively on 64-bit systems. If you run Linux on your 64-bit machine,


MAGICS often utilized ActiveX controls or COM DLLs for graph rendering. The installer may attempt to register these using regsvr32. On a 64-bit system, the version of regsvr32 located in System32 is the 64-bit version. To register 32-bit DLLs correctly, the installer (or manual command) must utilize the 32-bit version of regsvr32 located in SysWOW64: %windir%\SysWOW64\regsvr32.exe "path_to_dll" This is vastly easier and runs natively on 64-bit systems

When attempting to install on modern 64-bit Windows, you will encounter these specific errors:

Use patchelf to modify hardcoded rpaths:

find $MAGICS_HOME/bin -type f -exec patchelf --set-rpath '$ORIGIN/../lib' {} \;