Skip to content

A port of libgomp to run on parlib-based schedulers (OpenMP).

Notifications You must be signed in to change notification settings

klueska/libgomp-parlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libgomp-Parlib - README
For questions or comments, please contact: Kevin Klues <[email protected]>

This includes a lithe "ported" implementation of libgomp ripped out of
gcc-4.6.1

The library built is called libgomp

To install this library, simply follow the standard GNU installation procedure.
If you have 'parlib' and 'lithe' installed in a non-standard location, be sure
and set the --with-parlib and --with-lithe configure options appropriately.
Otherwise, you can just ignore them.

cd libgomp
./bootstrap
mkdir build
cd build
../configure --prefix=<install_dir> \
             --enable-parlib-sched=<lithe, upthread>\
             --with-parlib=<parlib_install_dir> \
             --with-lithe=<lithe_install_dir>
             --with-upthread=<upthread_install_dir>
make
make install

Don't forget to use 'sudo' if you are installing into a directory which
requires root priveleges.

Running 'make check' should work for the most part.  Not all of libgomp has
been ported, so not all of the tests will pass yet. 
To see the results look in:
src/build/testsuite/libgomp.log

Also, if you install to a non-standard <install_dir>, it's probably a good idea
to add these paths to a few environment variables.  Doing this will allow you
to compile and run programs that depend on this library much easier. I set
these variables in my .bashrc file in my home directory, but feel free to set
them however you like.

C_INCLUDE_PATH = <install_dir>/include
CPLUS_INCLUDE_PATH = <install_dir>/include
LD_LIBRARY_PATH = <install_dir>/lib
LD_RUN_PATH = <install_dir>/lib

Alternatively, you can set up a gcc spec file so that these tools will be
available to all users on the system.  See the following link for details:
http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Spec-Files.html

About

A port of libgomp to run on parlib-based schedulers (OpenMP).

Resources

Stars

Watchers

Forks

Packages

No packages published