[petsc-dev] PETSc-Cuda with gfortran 4.7

Satish Balay balay at mcs.anl.gov
Wed Mar 13 20:08:52 CDT 2013


> compiler-bindir = /home/wdn/Packages/Gcc/gcc_4.6.3/bin

Ah - thats good to know.

Thanks.

Satish

On Wed, 13 Mar 2013, Dave Nystrom wrote:

> Attached is nvcc.profile and nvcc.profile.orig.  See the last line in
> nvcc.profile.
> 
> Also, to build gcc 4.6.3 on Fedora 17, I needed to follow the following
> procedure.
> 
> yum install gcc mpfr-devel libmpc libmpc-devel glibc-devel glibc-devel.i686
> 
> configure --prefix=where_to_install \
>           --program-suffix=46 \
>           --enable-languages=c,c++,fortran
> 
> make
> make install
> 
> Not sure why glibc-devel.i686 is needed for a 64 bit install but I had to
> have that for the build to work.
> 
> Dave
> 
> 




More information about the petsc-dev mailing list