CCP4mg logo CCP4 web logo

CCP4mg Diagnostic output on Windows

CCP4mg creates a directory called .CCP4MG (NB the initial dot) in the users 'home' area. On Windows systems the 'home' area is specified by the USERPROFILE environment variable. This is usually C:\Documents and Settings\your_user_name.

When CCP4mg runs (or fails to run!) it will create two files in the .CCP4MG directory: ccp4mg_stderr.txt and ccp4mg_stdout.txt. You can view these files using the Wordpad program. If you have problems running CCP4mg it will be a great help to us if you can email us (ccp4mg@ysbl.york.ac.uk) these files. The time and date of the program run is written to the top of ccp4mg_stdout.txt. These files will be overwritten by any subsequent program run so if the progam fails please save these files by renaming them immediately. It is common for the ccp4mg_stderr.txt file to be empty.

We have observed that CCP4mg is sometimes dependent on the colour resolution set on the machine. If the program fails with the last line in the file ccp4mg_stdout.txt being..
Starting graphics thread..
then it is worth trying alternative colour resolutions. To do this go to the Control Panel and choose the Display option (easier to find if the display is in 'Classic' mode) and then choose the Settings folder. Ther is a menu for different Color quality. You will need to click the Apply button to implement changes.

Program Restart Status

By default the program will restart with the same data loaded. This can be switched off in the Preferences window Session tools or, if you are running the program from the command line, then use the command:
prompt> ccp4mg -norestore
These options only prevent reloading the data files from the previous session - they do not undo any Preferences. If you have problems restarting the program it may be worth trying to delete or rename the status file. The status file for the last session is
your_home_directory/.CCP4MG/status/last_exit.status.pkl