[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

Draft non-optimal install for Winplotr and Fullprof Rietveld 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). The Winplotr program is one of these and you will be required to convert the files into lower case.

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)


Winplotr and Fullprof Rietveld

(Note 1: Winplotr can have problems spwaning programs under Wine/Linux. Fullprof cannot be spawned but other sub functions of Winplotr can)

(Note 2:The Winplotr setup program does not work at the moment)

(Fullprof and Winplotr are available from your closest CCP14 based mirror via the Fullprof tutorials page. Just grab the Winplotr zip file which also includes fullprof.)

On the Linux machine, unzip the previously ZIPPED c:\fullprof area (based on Wine install) in /c/fullprof (wine will see this as c:\fullprof).

As all the files are in UPPER CASE, while in the /c/fullprof directory use the following chcase command to convert them to lower case. (this is a simple Perl script downloaded off the internet as given in the above address that can be installed in /usr/bin)

chcase -r -d '*'


Setting DOS Style Environment variables in Linux


Under bash shell (following my be non-optimal or non-robust - though remembering that the System S/Platon single crystal suite is not happy using the latest Linux bash shell - use csh instead), put the following in the .bashrc file located in the home directory.

export WINPLOTR="c:\fullprof"

export FULLPROF="c:\fullprof"

Then resource the .bashrc file using the command source .bashrc


Under Cshell/csh, put the following in the .cshrc located in the home directory.

set WINPLOTR="c:\fullprof"

set FULLPROF="c:\fullprof"

Then resource the .cshrc file using the command source .cshrc

If you want to set these environment variables on the csh command line use:

env WINPLOTR="c:\fullprof"

env FULLPROF="c:\fullprof"


Running Fullprof for Windows Under Wine/Linux

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

wine wfp2k

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

wine -winver win95 wfp2k

(If you find Winfullprof gives an error on startup saying it is having a problem involving a file called fullprof.dir, delete this file, then try running Winfullprof again. This dodgy file was probably created by attempting to spawn Fullprof from within Winplotr)


Running Winplotr for Windows Under Wine/Linux

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

wine winplotr


Things are happy, browse and open a data file. Be happy if possible!

Running Win Fullprof under Wine/Linux/Gnome

Running Win Fullprof  under Wine/Linux/Gnome


Running Winplotr under Wine/Linux/Gnome

Running Winplotr under Wine/Linux/Gnome

Running Winplotr under Wine/Linux/Gnome


[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