[petsc-users] installation problems in mac machine

Barry Smith bsmith at mcs.anl.gov
Mon Dec 21 18:32:40 CST 2009


   Please send this type of report to petsc-maint at mcs.anl.gov not  
petsc-users

   Please send configure.log and make.log to petsc-maint at mcs.anl.gov

     Barry

On Dec 21, 2009, at 3:34 PM, hxie at umn.edu wrote:

>
> When I run "make all", I saw many warnings like
> ---
> f90_fwrap.F:124.72:
>
>     subroutine  
> F90Array2dCreateScalar 
> (array 
> ,start1 
> ,len1 
> ,                                                                                     1
> Warning: Line truncated at (1)
> f90_fwrap.F:130.72:
>
>     real(kind=selected_real_kind(10)),  
> target ::                      ---
>
> It seems the it does not support f90. I smell something wrong, am I  
> right? I installed the xcode and gfortran in the mac machine.
>
>
> On Dec 21 2009, petsc-users-request at mcs.anl.gov wrote:
>
>> Send petsc-users mailing list submissions to
>> 	petsc-users at mcs.anl.gov
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	https://lists.mcs.anl.gov/mailman/listinfo/petsc-users
>> or, via email, send a message with subject or body 'help' to
>> 	petsc-users-request at mcs.anl.gov
>>
>> You can reach the person managing the list at
>> 	petsc-users-owner at mcs.anl.gov
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of petsc-users digest..."
>>
>>
>> Today's Topics:
>>
>>  1. installation problems in mac machine (hxie at umn.edu)
>>  2. Re: installation problems in mac machine (Satish Balay)
>>  3. Re: installation problems in mac machine (Dominik Szczerba)
>>  4. Re: installation problems in mac machine (Matthew Knepley)
>>  5. Re: installation problems in mac machine (Satish Balay)
>>  6. Re: installation problems in mac machine (Dominik Szczerba)
>>  7. Re: installation problems in mac machine (Matthew Knepley)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: 21 Dec 2009 15:04:59 -0600
>> From: hxie at umn.edu
>> Subject: installation problems in mac machine
>> To: petsc-users at mcs.anl.gov
>> Message-ID: <Gophermail.2.0.0912211504590.28258 at vs-w.tc.umn.edu>
>> Content-Type: text/plain; format=flowed; charset=UTF-8
>>
>> Hi,
>>
>> My operation system is Mac OS X 10.6.2. I unzip the petsc under / 
>> usr/local/petsc-3.0.0-p10.
>> I use the following to configure petsc.
>> -------
>> sudo ./config/configure.py --CFLAGS=-O3 --FFLAGS=-O3 --with-mpi- 
>> dir=/usr/local/mpich2-1.2.1 --with-fortran --with-shared=0 --with- 
>> fc=gfortran
>> -------
>>
>> And I run the following commands:
>> ----
>> export PETS_ARCH=darwin10.2.0-c-debug;
>> PETSC_DIR=/usr/local/petsc-3.0.0-p10; export PETSC_DIR
>> ----
>>
>> When I run " sudo make all", it gives some errors:
>> -----
>> makefile:15: /conf/base: No such file or directory
>> makefile:16: /conf/test: No such file or directory
>> make: *** No rule to make target `/conf/test'.  Stop.
>> -----
>>
>> It seems it cannot find the PETSC_DIR. (I use x11. "echo $SHELL"  
>> gets "/bin/bash")
>> Do I need to add "PETSC_DIR = /usr/local/petsc-3.0.0-p10" in the  
>> makefile file? Thanks.
>>
>> Bests,
>> Hui
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Mon, 21 Dec 2009 15:10:00 -0600 (CST)
>> From: Satish Balay <balay at mcs.anl.gov>
>> Subject: Re: installation problems in mac machine
>> To: PETSc users list <petsc-users at mcs.anl.gov>
>> Message-ID: <alpine.LFD.2.00.0912211507000.2266 at asterix>
>> Content-Type: TEXT/PLAIN; charset=US-ASCII
>>
>> Perhaps 'sudo' is not proegating PETSC_DIR,PETSC_ARCH variables
>> properly?
>>
>> Try 'sudo /bin/bash' and do the whole install in that shell.
>>
>> BTW: you have a typo with PETSC_ARCH further down..  And we recommend
>> using COPTFLAGS, FOPTFLAGS --with-debugging=0 for optimziation  
>> builds.
>>
>> Satish
>>
>> On Mon, 21 Dec 2009, hxie at umn.edu wrote:
>>
>>> Hi,
>>> My operation system is Mac OS X 10.6.2. I unzip the petsc under
>>> /usr/local/petsc-3.0.0-p10.
>>> I use the following to configure petsc.
>>> -------
>>> sudo ./config/configure.py --CFLAGS=-O3 --FFLAGS=-O3
>>> --with-mpi-dir=/usr/local/mpich2-1.2.1 --with-fortran --with- 
>>> shared=0
>>> --with-fc=gfortran
>>> -------
>>> And I run the following commands:
>>> ----
>>> export PETS_ARCH=darwin10.2.0-c-debug;
>>> PETSC_DIR=/usr/local/petsc-3.0.0-p10; export PETSC_DIR
>>> ----
>>> When I run " sudo make all", it gives some errors:
>>> -----
>>> makefile:15: /conf/base: No such file or directory
>>> makefile:16: /conf/test: No such file or directory
>>> make: *** No rule to make target `/conf/test'.  Stop.
>>> -----
>>> It seems it cannot find the PETSC_DIR. (I use x11. "echo $SHELL"  
>>> gets
>>> "/bin/bash")
>>> Do I need to add "PETSC_DIR = /usr/local/petsc-3.0.0-p10" in the  
>>> makefile
>>> file? Thanks.
>>> Bests,
>>> Hui
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Mon, 21 Dec 2009 22:13:56 +0100
>> From: Dominik Szczerba <dominik at itis.ethz.ch>
>> Subject: Re: installation problems in mac machine
>> To: PETSc users list <petsc-users at mcs.anl.gov>
>> Message-ID: <4B2FE514.2070900 at itis.ethz.ch>
>> Content-Type: text/plain; charset=US-ASCII
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Why use sudo in the first place?
>> I am not a mac user, but normally on unix sudo is the last thing you
>> want to use during everyday work (provided that you are at all  
>> allowed
>> to use it).
>>
>> Dominik
>>
>> Satish Balay wrote:
>>> Perhaps 'sudo' is not proegating PETSC_DIR,PETSC_ARCH variables
>>> properly?
>>> Try 'sudo /bin/bash' and do the whole install in that shell.
>>> BTW: you have a typo with PETSC_ARCH further down..  And we  
>>> recommend
>>> using COPTFLAGS, FOPTFLAGS --with-debugging=0 for optimziation  
>>> builds.
>>> Satish
>>> On Mon, 21 Dec 2009, hxie at umn.edu wrote:
>>>> Hi,
>>>>
>>>> My operation system is Mac OS X 10.6.2. I unzip the petsc under
>>>> /usr/local/petsc-3.0.0-p10.
>>>> I use the following to configure petsc.
>>>> -------
>>>> sudo ./config/configure.py --CFLAGS=-O3 --FFLAGS=-O3
>>>> --with-mpi-dir=/usr/local/mpich2-1.2.1 --with-fortran --with- 
>>>> shared=0
>>>> --with-fc=gfortran
>>>> -------
>>>>
>>>> And I run the following commands:
>>>> ----
>>>> export PETS_ARCH=darwin10.2.0-c-debug;
>>>> PETSC_DIR=/usr/local/petsc-3.0.0-p10; export PETSC_DIR
>>>> ----
>>>>
>>>> When I run " sudo make all", it gives some errors:
>>>> -----
>>>> makefile:15: /conf/base: No such file or directory
>>>> makefile:16: /conf/test: No such file or directory
>>>> make: *** No rule to make target `/conf/test'.  Stop.
>>>> -----
>>>>
>>>> It seems it cannot find the PETSC_DIR. (I use x11. "echo $SHELL"  
>>>> gets
>>>> "/bin/bash")
>>>> Do I need to add "PETSC_DIR = /usr/local/petsc-3.0.0-p10" in the  
>>>> makefile
>>>> file? Thanks.
>>>>
>>>> Bests,
>>>> Hui
>>>>
>>>>
>>>>
>>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAksv5Q0ACgkQ/EBMh9bUuzJGugCgiCLXN7u5flIjSk2PRDEFMKRy
>> KfUAn1kP90FbNBvFZNsvkIjNnEv4ovJX
>> =KArD
>> -----END PGP SIGNATURE-----
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Mon, 21 Dec 2009 15:15:27 -0600
>> From: Matthew Knepley <knepley at gmail.com>
>> Subject: Re: installation problems in mac machine
>> To: PETSc users list <petsc-users at mcs.anl.gov>
>> Message-ID:
>> 	<a9f269830912211315x3b732653ke6e9d6dee2130b6d at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> On Mon, Dec 21, 2009 at 3:13 PM, Dominik Szczerba <dominik at itis.ethz.ch 
>> >wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Why use sudo in the first place?
>>> I am not a mac user, but normally on unix sudo is the last thing you
>>> want to use during everyday work (provided that you are at all  
>>> allowed
>>> to use it).
>>>
>>
>> Not sure why you would think that. In fact, sudo is the safe way to  
>> do
>> things
>> and recommended for everyday usage.
>>
>> Matt
>>
>>
>>> Dominik
>>>
>>> Satish Balay wrote:
>>> > Perhaps 'sudo' is not proegating PETSC_DIR,PETSC_ARCH variables
>>> > properly?
>>> >
>>> > Try 'sudo /bin/bash' and do the whole install in that shell.
>>> >
>>> > BTW: you have a typo with PETSC_ARCH further down..  And we  
>>> recommend
>>> > using COPTFLAGS, FOPTFLAGS --with-debugging=0 for optimziation  
>>> builds.
>>> >
>>> > Satish
>>> >
>>> > On Mon, 21 Dec 2009, hxie at umn.edu wrote:
>>> >
>>> >> Hi,
>>> >>
>>> >> My operation system is Mac OS X 10.6.2. I unzip the petsc under
>>> >> /usr/local/petsc-3.0.0-p10.
>>> >> I use the following to configure petsc.
>>> >> -------
>>> >> sudo ./config/configure.py --CFLAGS=-O3 --FFLAGS=-O3
>>> >> --with-mpi-dir=/usr/local/mpich2-1.2.1 --with-fortran --with- 
>>> shared=0
>>> >> --with-fc=gfortran
>>> >> -------
>>> >>
>>> >> And I run the following commands:
>>> >> ----
>>> >> export PETS_ARCH=darwin10.2.0-c-debug;
>>> >> PETSC_DIR=/usr/local/petsc-3.0.0-p10; export PETSC_DIR
>>> >> ----
>>> >>
>>> >> When I run " sudo make all", it gives some errors:
>>> >> -----
>>> >> makefile:15: /conf/base: No such file or directory
>>> >> makefile:16: /conf/test: No such file or directory
>>> >> make: *** No rule to make target `/conf/test'.  Stop.
>>> >> -----
>>> >>
>>> >> It seems it cannot find the PETSC_DIR. (I use x11. "echo  
>>> $SHELL" gets
>>> >> "/bin/bash")
>>> >> Do I need to add "PETSC_DIR = /usr/local/petsc-3.0.0-p10" in the
>>> makefile
>>> >> file? Thanks.
>>> >>
>>> >> Bests,
>>> >> Hui
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>>
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.9 (GNU/Linux)
>>>
>>> iEYEARECAAYFAksv5Q0ACgkQ/EBMh9bUuzJGugCgiCLXN7u5flIjSk2PRDEFMKRy
>>> KfUAn1kP90FbNBvFZNsvkIjNnEv4ovJX
>>> =KArD
>>> -----END PGP SIGNATURE-----
>>>
>>
>>
>>
>>



More information about the petsc-users mailing list