[CCP14 Home: (Frames | No Frames)]
CCP14 Mirrors: [UK] | [CA] | [US] | [AU]

(This Webpage Page in No Frames Mode)

CCP14

Methods, Problems and Solutions

Wine for Crystallography - Running Crystallographic Windows programs under Linux using the Wine Emulator

Running INDX for Windows under Wine/Linux

(Note: Windows programs under wine may not be 100% functional but may give you the functionality you need to get the job done)

The CCP14 Homepage is at http://www.ccp14.ac.uk

[To Problems and Solutions] | [To Wine for Crystallography Mainpage]

[Pre Summary - Why Bother?] | [Summary and Warnings of Wine] | [Installing Wine] | [Examples of MS Windows Crystallographic Programs running under Wine]

File name Case problems

Note: Many problems running Windows programs on Wine can be solved just by putting the file in the correct case (lower case usually).

If using the chcase perl script for UNIX, just go to the offending directory and run the following command to get all the files (in this example) into lower case:

chcase -r -d '*' (goes through subdirectories)

chcase -d '*.*' (just files with the *.* format in the present working directory)


INDX

As an example of a minor problem you can encounter running a Windows program, INDX from the LMGP suite is a good example. (indx - given an input of the cell, spacegroup and wavelength, this program for calculates powder diffraction line positions, HKLs and multiplicities; as well as provide extinctions/systematic absence conditions."

Download the INDX ZIP file from your closest CCP14 based mirror via the LMGP suite for Windows by Jean Laugier and Bernard Bochu tutorials page

Extract INDX using the command: unzip indx.zip

Now try to run indx.exe (make the exe's lower case if not already) using the command:

wine indx

You can also tell Wine to emulate a certain version of Windows in case this is what the program wants.

wine -winver win95 indx

Things will look like they are going OK until you try and click on some of the cell types where INDX will say it cannot find a file. This is because some of the Spacegroup database files are all in upper case, but the case sensitive Linux would like them in a mixture of uppercase/lower case.

Running INDX under Wine/Linux


To fix this up, rename the affected *.POS files with the file name in Uppercase, and the file extension in Lowercase: M.POS renamed to M.pos, etc.


INDX will now work happily. In the following screen dump it is browsing for a file to open (hurrah!).

Running INDX under Wine/Linux


[Pre Summary - Why Bother?] | [Summary and Warnings of Wine] | [Installing Wine] | [Examples of MS Windows Crystallographic Programs running under Wine]

[To Problems and Solutions] | [To Wine for Crystallography Mainpage]

[CCP14 Home: (Frames | No Frames)]
CCP14 Mirrors: [UK] | [CA] | [US] | [AU]

(This Webpage Page in No Frames Mode)

If you have any queries or comments, please feel free to contact the CCP14