Line 38: Line 38:
 
== Alias/directory names in cMind ==
 
== Alias/directory names in cMind ==
  
We strongly suggest not to use ! in directory names at least on Windows. Some scripts use 'Setlocal EnableDelayedExpansion' that consider ! as a expanded variable.
+
We strongly suggest not to use ! in directory names at least on Windows. Some scripts use 'Setlocal EnableDelayedExpansion' that consider ! as a expanded variable.
 +
 
 +
== Misc info ==
 +
 
 +
* [http://gcc.gnu.org/onlinedocs/gccint/Plugins.html GCC plugins]
 +
* [http://www.yolinux.com/TUTORIALS/LinuxTutorialMixingFortranAndC.html mixing Fortran and C]

Latest revision as of 04:33, 27 October 2013

Installation

Manual installation of python matplotlib on CentOS

We had some problems installing python matplotlib and had to install it manually. The required packages were:

  • freetype-2.4.9
  • libpng-1.5.10

When installing on 64bit machine we had to use the following cmd:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && make clean && make && make install
  • numpy-1.6.2
  • matplotlib-1.1.0

At the end, we had to create directory .matplotlib

mkdir /var/www/.matplotlib
chmod 755 /var/www/.matplotlib

Installation of gcc packages on Ubuntu 11.x and 12.x

You need to have the following package installed:

  • apt-get install gcc-multilib

And then add to your .profile

if [-z "$LIBRARY_PATH"] then 
 export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
else
 export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH
fi

Using Intel vTune with cM on Linux under root

If Intel vTune needs root access for hardware counters, users may need to start cM as root, i.e.

su
cm_start_web.sh

All requests from the web to cM will go as root.

Alias/directory names in cMind

We strongly suggest not to use ! in directory names at least on Windows. Some scripts use 'Setlocal EnableDelayedExpansion' that consider ! as a expanded variable.

Misc info


(C) 2011-2014 cTuning foundation