ubuntu - Where did mpich install? -
i used sudo apt-get install mpich
in terminal. installed fine. must edit rc file mgrid2 according these instructions. 1 thing must specify path mpich installed , cannot find it! did find .h files in /usr/include isn't correct path. i've pasted install output below.
any thoughts on how find mpich installed? i'm running ubuntu 15.10.
reading package lists... done building dependency tree reading state information... done following packages installed: gfortran gfortran-5 hwloc-nox libcr-dev libcr0 libgfortran-5-dev libgfortran3 libhwloc-plugins libhwloc5 libmpich-dev libmpich12 libmpl-dev libmpl1 libopa-dev libopa1 ocl-icd-libopencl1 suggested packages: gfortran-multilib gfortran-doc gfortran-5-multilib gfortran-5-doc libgfortran3-dbg blcr-dkms libhwloc-contrib-plugins blcr-util mpich-doc opencl-icd following new packages installed: gfortran gfortran-5 hwloc-nox libcr-dev libcr0 libgfortran-5-dev libgfortran3 libhwloc-plugins libhwloc5 libmpich-dev libmpich12 libmpl-dev libmpl1 libopa-dev libopa1 mpich ocl-icd-libopencl1 0 upgraded, 17 newly installed, 0 remove , 5 not upgraded. need 9,379 kb of archives. after operation, 36.6 mb of additional disk space used. want continue? [y/n] y get:1 http://us.archive.ubuntu.com/ubuntu/ wily/universe libhwloc5 i386 1.11.0-1 [86.5 kb] get:2 http://us.archive.ubuntu.com/ubuntu/ wily/main libgfortran3 i386 5.2.1-22ubuntu2 [250 kb] get:3 http://us.archive.ubuntu.com/ubuntu/ wily/main libgfortran-5-dev i386 5.2.1-22ubuntu2 [276 kb] get:4 http://us.archive.ubuntu.com/ubuntu/ wily/main gfortran-5 i386 5.2.1-22ubuntu2 [6,522 kb] get:5 http://us.archive.ubuntu.com/ubuntu/ wily/main gfortran i386 4:5.2.1-3ubuntu1 [1,276 b] get:6 http://us.archive.ubuntu.com/ubuntu/ wily/universe libcr0 i386 0.8.5-2.2 [19.9 kb] get:7 http://us.archive.ubuntu.com/ubuntu/ wily/universe libcr-dev i386 0.8.5-2.2 [24.5 kb] get:8 http://us.archive.ubuntu.com/ubuntu/ wily/universe hwloc-nox i386 1.11.0-1 [126 kb] get:9 http://us.archive.ubuntu.com/ubuntu/ wily/main ocl-icd-libopencl1 i386 2.2.7-2 [30.3 kb] get:10 http://us.archive.ubuntu.com/ubuntu/ wily/universe libhwloc-plugins i386 1.11.0-1 [11.8 kb] get:11 http://us.archive.ubuntu.com/ubuntu/ wily/universe libmpl1 i386 3.1-6 [20.4 kb] get:12 http://us.archive.ubuntu.com/ubuntu/ wily/universe libmpich12 i386 3.1-6 [797 kb] get:13 http://us.archive.ubuntu.com/ubuntu/ wily/universe libmpl-dev i386 3.1-6 [17.7 kb] get:14 http://us.archive.ubuntu.com/ubuntu/ wily/universe libopa1 i386 3.1-6 [14.0 kb] get:15 http://us.archive.ubuntu.com/ubuntu/ wily/universe libopa-dev i386 3.1-6 [11.3 kb] get:16 http://us.archive.ubuntu.com/ubuntu/ wily/universe libmpich-dev i386 3.1-6 [985 kb] get:17 http://us.archive.ubuntu.com/ubuntu/ wily/universe mpich i386 3.1-6 [186 kb] fetched 9,379 kb in 22s (425 kb/s) selecting unselected package libhwloc5:i386. (reading database ... 208750 files , directories installed.) preparing unpack .../libhwloc5_1.11.0-1_i386.deb ... unpacking libhwloc5:i386 (1.11.0-1) ... selecting unselected package libgfortran3:i386. preparing unpack .../libgfortran3_5.2.1-22ubuntu2_i386.deb ... unpacking libgfortran3:i386 (5.2.1-22ubuntu2) ... selecting unselected package libgfortran-5-dev:i386. preparing unpack .../libgfortran-5-dev_5.2.1-22ubuntu2_i386.deb ... unpacking libgfortran-5-dev:i386 (5.2.1-22ubuntu2) ... selecting unselected package gfortran-5. preparing unpack .../gfortran-5_5.2.1-22ubuntu2_i386.deb ... unpacking gfortran-5 (5.2.1-22ubuntu2) ... selecting unselected package gfortran. preparing unpack .../gfortran_4%3a5.2.1-3ubuntu1_i386.deb ... unpacking gfortran (4:5.2.1-3ubuntu1) ... selecting unselected package libcr0. preparing unpack .../libcr0_0.8.5-2.2_i386.deb ... unpacking libcr0 (0.8.5-2.2) ... selecting unselected package libcr-dev. preparing unpack .../libcr-dev_0.8.5-2.2_i386.deb ... unpacking libcr-dev (0.8.5-2.2) ... selecting unselected package hwloc-nox. preparing unpack .../hwloc-nox_1.11.0-1_i386.deb ... unpacking hwloc-nox (1.11.0-1) ... selecting unselected package ocl-icd-libopencl1:i386. preparing unpack .../ocl-icd-libopencl1_2.2.7-2_i386.deb ... unpacking ocl-icd-libopencl1:i386 (2.2.7-2) ... selecting unselected package libhwloc-plugins. preparing unpack .../libhwloc-plugins_1.11.0-1_i386.deb ... unpacking libhwloc-plugins (1.11.0-1) ... selecting unselected package libmpl1:i386. preparing unpack .../libmpl1_3.1-6_i386.deb ... unpacking libmpl1:i386 (3.1-6) ... selecting unselected package libmpich12:i386. preparing unpack .../libmpich12_3.1-6_i386.deb ... unpacking libmpich12:i386 (3.1-6) ... selecting unselected package libmpl-dev. preparing unpack .../libmpl-dev_3.1-6_i386.deb ... unpacking libmpl-dev (3.1-6) ... selecting unselected package libopa1:i386. preparing unpack .../libopa1_3.1-6_i386.deb ... unpacking libopa1:i386 (3.1-6) ... selecting unselected package libopa-dev. preparing unpack .../libopa-dev_3.1-6_i386.deb ... unpacking libopa-dev (3.1-6) ... selecting unselected package libmpich-dev. preparing unpack .../libmpich-dev_3.1-6_i386.deb ... unpacking libmpich-dev (3.1-6) ... selecting unselected package mpich. preparing unpack .../archives/mpich_3.1-6_i386.deb ... unpacking mpich (3.1-6) ... processing triggers man-db (2.7.4-1) ... processing triggers doc-base (0.10.6) ... processing 1 added doc-base file... setting libhwloc5:i386 (1.11.0-1) ... setting libgfortran3:i386 (5.2.1-22ubuntu2) ... setting libgfortran-5-dev:i386 (5.2.1-22ubuntu2) ... setting gfortran-5 (5.2.1-22ubuntu2) ... setting gfortran (4:5.2.1-3ubuntu1) ... update-alternatives: using /usr/bin/gfortran provide /usr/bin/f95 (f95) in auto mode update-alternatives: using /usr/bin/gfortran provide /usr/bin/f77 (f77) in auto mode setting libcr0 (0.8.5-2.2) ... setting libcr-dev (0.8.5-2.2) ... setting hwloc-nox (1.11.0-1) ... setting ocl-icd-libopencl1:i386 (2.2.7-2) ... setting libhwloc-plugins (1.11.0-1) ... setting libmpl1:i386 (3.1-6) ... setting libmpich12:i386 (3.1-6) ... setting libmpl-dev (3.1-6) ... setting libopa1:i386 (3.1-6) ... setting libopa-dev (3.1-6) ... setting libmpich-dev (3.1-6) ... debug: postinst in libmpich-dev update-alternatives: using /usr/include/mpich provide /usr/include/mpi (mpi) in auto mode setting mpich (3.1-6) ... update-alternatives: using /usr/bin/mpirun.mpich provide /usr/bin/mpirun (mpirun) in auto mode processing triggers libc-bin (2.21-0ubuntu4) ...
edit-
the instructions suggest path /usr/x86-local/mpich/ch_p4
don't have /usr/x86-local/
usr/local
, it's not there.
find /usr -name mpich
, whereis mpich
returned:
/usr/share/doc/mpich --copyright info , shortcuts stored here /usr/include/mpich --.h files stored here /usr/lib/mpich --shortcut /usr/include/mpich
which mpicc
, whereis mpicc
returned:
/usr/bin/mpicc.mpich /usr/bin/mpicc /usr/bin/mpicc.mpich2 /usr/share/man/man1/mpicc.1.gz
point is, nothing i've tried far had subdirectory ch_p4 in when did ls
.
Comments
Post a Comment