[mpich-discuss] installing mpich-1.2.6 to create libmpich.so.1.0

Jeff Hammond jeff.science at gmail.com
Tue Jun 25 15:43:05 CDT 2013


Yeah, everything Pavan said.  I forgot what --enable-g meant.  If you
intend to use a debugger (because you're developing an application
that uses MPI), you might find --enable-g=dbg useful, but --enable-g
is total overkill for users.

Jeff

On Tue, Jun 25, 2013 at 3:12 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
>
> Any compiler is fine.  But use the latest version of mpich.  You don't need
> all the configure flags that Jeff sent.  In fact, I'd recommend that you not
> use them.  For example, --enable-g is only for developers.
>
> My recommendation is just this:
>
> ./configure --prefix=<where_to_install> CC=pgcc CXX=pgCC F77=pgf77 FC=pgfc
>
>  -- Pavan
>
>
> On 06/25/2013 02:54 PM, Andre Pattantyus wrote:
>>
>> Jeff,
>>
>> Are you saying that this file will only build with a gnu compiler? or
>> can I build with pgf compiler with mpich 3.0.4?
>>
>> -Andre
>>
>>
>> On Tue, Jun 25, 2013 at 2:19 AM, Jeff Hammond <jhammond at alcf.anl.gov
>> <mailto:jhammond at alcf.anl.gov>> wrote:
>>
>>     Try MPICH 3.0.4.  MPICH 1.2.6 is ancient and not supported.
>>
>>     This is how I build MPICH 3.0.4.  You will have to edit the prefix
>>     option appropriately.
>>
>>     wget http://www.mpich.org/static/downloads/3.0.4/mpich-3.0.4.tar.gz
>>     tar -xzf mpich-3.0.4.tar.gz
>>     cd mpich-3.0.4
>>     mkdir build-gcc
>>     cd build-gcc/
>>     ../configure CC=gcc CXX=g++ FC=gfortran F77=gfortran --enable-fc
>>     --enable-f77 --enable-threads --enable-g=dbg
>>     --with-device=ch3:nemesis --with-pm=hydra --prefix=.
>>
>>     Jeff
>>
>>     ----- Original Message -----
>>     From: "Andre Pattantyus" <akp4221 at hawaii.edu
>>     <mailto:akp4221 at hawaii.edu>>
>>     To: discuss at mpich.org <mailto:discuss at mpich.org>
>>     Sent: Tuesday, June 25, 2013 3:15:55 AM
>>     Subject: [mpich-discuss] installing mpich-1.2.6 to create
>>     libmpich.so.1.0
>>
>>
>>
>>
>>     Hello,
>>
>>     I am not familiar with installing mpich and am having problems with
>>     installation. I have found from searching online that mpich-1.2.6
>>     produces libmpich.so.1.0 which I require run a certain program in
>>     parallel. I am unable to follow the installation documentation I
>>     have found online for this version because when i configure for
>>     ch_p4mpd I get an error when I run make. Therefore I just run
>>     ./configure and make but this does not produce my required
>>     libmpich.so.1.0. What do I need to specify prior to either configure
>>     or make in order to build this? I am building on a linux86-64 with
>>     pgi/10.2 compiler.
>>
>>
>>
>>     --
>>     Andre Pattantyus
>>     Graduate Student Research Assistant
>>     Department of Meteorology
>>     University of Hawaii at Manoa
>>     2525 Correa Rd, HIG 350
>>     Honolulu, HI 96822
>>     Phone: (845) 264-3582
>>
>>     _______________________________________________
>>     discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>>
>>     To manage subscription options or unsubscribe:
>>     https://lists.mpich.org/mailman/listinfo/discuss
>>     _______________________________________________
>>     discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>>
>>     To manage subscription options or unsubscribe:
>>     https://lists.mpich.org/mailman/listinfo/discuss
>>
>>
>>
>>
>> --
>> Andre Pattantyus
>> Graduate Student Research Assistant
>> Department of Meteorology
>> University of Hawaii at Manoa
>> 2525 Correa Rd, HIG 350
>> Honolulu, HI 96822
>> Phone: (845) 264-3582
>>
>>
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss



-- 
Jeff Hammond
jeff.science at gmail.com



More information about the discuss mailing list