couldn't you just install openMPI from apt-get or package manager? those should be pre-compiled and work for most machine types.
On Fri, Jan 28, 2011 at 6:26 PM, Damien Hocking <dam...@khubla.com> wrote: > Tom, > > Changing the path to icc is done in that configure file: > > > #!/bin/bash > CC=icc CXX=icpc F77=ifort FC=ifort ./configure > --prefix=/usr/local/OpenMPI-intel --enable-static --enable-shared > > becomes > > #!/bin/bash > CC=/usr/local/intel/Compiler/11.0/083/bin/intel64/icc CXX=icpc F77=ifort > FC=ifort ./configure --prefix=/usr/local/OpenMPI-intel --enable-static > --enable-shared > > > You might have to do the same full path for CXX, F77, FC flags too. > > Damien > > > CC=On 28/01/2011 7:18 PM, Greef, T.F.A. de wrote: > > Hi everybody, >> >> I try to compile openmpi with intel compilers on ubuntu 10.10 >> Everything configures and compiles OK. I used the following configure >> file: >> >> The configure file looks like this: >> >> #!/bin/bash >> CC=icc CXX=icpc F77=ifort FC=ifort ./configure >> --prefix=/usr/local/OpenMPI-intel --enable-static --enable-shared >> >> >> However, when doing make install the I recieve the following error: >> >> libtool: line 7847: icc: command not found >> libtool: install: error: relink `libopen-rte.la' with the above command >> before installing it >> >> This was previously reported in another thread ( >> http://www.open-mpi.org/community/lists/users/2009/05/9452.php). >> I made sure that icc is in my path by sourcing the environmental variables >> in .bashrc >> >> source /opt/intel/Compiler/11.1/059/bin/ifortvars.sh intel64 >> source /opt/intel/Compiler/11.1/073/bin/iccvars.sh intel64 >> >> The output of my printenv is: >> >> >> MANPATH=/opt/intel/Compiler/11.1/073/man/en_US:/opt/intel/Compiler/11.1/059/man/en_US:/usr/local/man:/usr/local/share/man:/usr/share/man >> ORBIT_SOCKETDIR=/tmp/orbit-tom >> SSH_AGENT_PID=1778 >> >> INTEL_LICENSE_FILE=/opt/intel/Compiler/11.1/059/licenses:/opt/intel/licenses:/home/tom/intel/licenses:/opt/intel/Compiler/11.1/073/licenses:/opt/intel/licenses:/home/tom/intel/licenses >> TERM=xterm >> SHELL=/bin/bash >> >> XDG_SESSION_COOKIE=e1fd4608d199162d1943279000000007-1296259084.406953-2001076340 >> >> LIBRARY_PATH=/opt/intel/Compiler/11.1/073/lib/intel64:/opt/intel/Compiler/11.1/059/lib/intel64 >> WINDOWID=56833742 >> GNOME_KEYRING_CONTROL=/tmp/keyring-3LAaIy >> GTK_MODULES=canberra-gtk-module >> USER=tom >> >> LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/073/lib/intel64:/opt/intel/Compiler/11.1/059/lib/intel64 >> >> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*! >> > .x! > >> >> >> wd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: >> SSH_AUTH_SOCK=/tmp/keyring-3LAaIy/ssh >> DEFAULTS_PATH=/usr/share/gconf/gnome.default.path >> SESSION_MANAGER=local/tom-MS-7586:@ >> /tmp/.ICE-unix/1742,unix/tom-MS-7586:/tmp/.ICE-unix/1742 >> USERNAME=tom >> XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg >> >> NLSPATH=/opt/intel/Compiler/11.1/073/lib/intel64/locale/%l_%t/%N:/opt/intel/Compiler/11.1/073/idb/intel64/locale/%l_%t/%N:/opt/intel/Compiler/11.1/059/lib/intel64/locale/%l_%t/%N:/opt/intel/Compiler/11.1/059/idb/intel64/locale/%l_%t/%N >> DESKTOP_SESSION=gnome >> >> PATH=/opt/intel/Compiler/11.1/073/bin/intel64:/opt/intel/Compiler/11.1/059/bin/intel64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games >> PWD=/home/tom >> GDM_KEYBOARD_LAYOUT=us >> LANG=en_US.utf8 >> GNOME_KEYRING_PID=1723 >> MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles >> MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path >> GDM_LANG=en_US.utf8 >> LOADEDMODULES= >> GDMSESSION=gnome >> SHLVL=1 >> HOME=/home/tom >> GNOME_DESKTOP_SESSION_ID=this-is-deprecated >> LOGNAME=tom >> XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/ >> >> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bRYGCPNoS9,guid=4002f3c04511f4e74a36b27f0000001c >> MODULESHOME=/usr/share/Modules >> LESSOPEN=| /usr/bin/lesspipe %s >> WINDOWPATH=7 >> DISPLAY=:0.0 >> LESSCLOSE=/usr/bin/lesspipe %s %s >> XAUTHORITY=/var/run/gdm/auth-for-tom-Z65SUo/database >> COLORTERM=gnome-terminal >> module=() { eval `/usr/bin/modulecmd bash $*` >> } >> >> In that particular thread it was suggested to use the full path of CC >> (CC=/usr/local/intel/Compiler/11.0/083/bin/intel64/icc) on the build line >> but I have no idea where to do this (i.e. which build line). >> I tried to export the CC env. variable using export >> CC=/usr/local/intel/Compiler/11.0/083/bin/intel64/icc but I got the same >> error after running make install again. >> I hope that anyone has a suggestion (I am a real beginner to Linux). >> >> best regards, >> >> Tom >> >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users >> > > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > -- David Zhang University of California, San Diego