problems of building with pgi

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
limaolin
Posts: 45
Joined: Wed Nov 07, 2012 5:48 pm
Location: Dalian University

problems of building with pgi

#1 Unread post by limaolin »

i have build upwelling with gfortran correctly, but when i build it with pgi, there are erros,i have past the build.bash and build.log, can someone help me, thanks a lot
Attachments
build.log
build.log
(754.99 KiB) Downloaded 198 times
build.bash
build.bash
(16.92 KiB) Downloaded 221 times

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: problems of building with pgi

#2 Unread post by kate »

This is the source of your troubles:

Code: Select all

rm -f -r core *.ipo /home/limaolin/model/roms/projects/upwelling/Build /home/limaolin/make_macros.mk
rm: cannot remove `/home/limaolin/model/roms/projects/upwelling/Build/nf_fread3d_mod.mod': Permission denied
rm: cannot remove `/home/limaolin/model/roms/projects/upwelling/Build/def_diags.f90': Permission denied
rm: cannot remove `/home/limaolin/model/roms/projects/upwelling/Build/step2d.f90': Permission denied
You need to be able to clean out the gfortran files before starting a fresh build with pgi. Can you try these?

Code: Select all

ls -ld /home/limaolin/model/roms/projects/upwelling/Build
rm -rf /home/limaolin/model/roms/projects/upwelling/Build

limaolin
Posts: 45
Joined: Wed Nov 07, 2012 5:48 pm
Location: Dalian University

Re: problems of building with pgi

#3 Unread post by limaolin »

thanks for your reply.
i found that i have build netcdf by gfortran and pgi twice. one installed in /usr/local, another in /usr/local/netcdf. i delate one, and installed again. after that, compiled by gfortran was right, i will compiled by pgi later.

Post Reply