PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Error when compiling with -ta=nvidia and -Mcuda

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
xlapillonne



Joined: 16 Feb 2011
Posts: 69

PostPosted: Fri Aug 26, 2011 2:54 am    Post subject: Error when compiling with -ta=nvidia and -Mcuda Reply with quote

Hi,

I have a code with acc directives wich is currently compiling and working with -ta=nividia option.

I wanted to add in this code some Cuda Fortran kernels. However when I try to compile with option "-ta=nvidia -Mcuda" I then get the following error:

PGF90-F-0701-Error reading temp file - dtype (/users/lapixa/GPU/turb_standalone_1a/src/turb_standalone.f90)

This seems really related with -Mcuda option, as even if I remove all calls to my cuda fortran kernel and the Use Cudafor statment, but compile with -Mcuda I am getting this error.

I have unfortunatelly not been able to reproduce the problem in a smaller test case, and other codes which mix CudaFortran and acc directives are working well. Do you have any idea of what could be causing this issue ?

Regards,

Xavier

PGi version: 11.8
Back to top
View user's profile
cparrott



Joined: 02 May 2011
Posts: 146

PostPosted: Tue Aug 30, 2011 5:15 pm    Post subject: Reply with quote

Hi Xavier,

Could you try compiling your code with -v and posting the output here? We will need a little more info to see what is going on.

Thanks!
Back to top
View user's profile
xlapillonne



Joined: 16 Feb 2011
Posts: 69

PostPosted: Thu Sep 01, 2011 2:27 am    Post subject: Reply with quote

hi,

Here is the output with -v

/apps/eiger/pgi-11.8/linux86-64/11.8/bin/pgf902 /tmp/pgf90cHHggMGpxGkq.ilm -fn /
users/lapixa/GPU/turb_standalone_1a/src/turb_standalone.f90 -opt 3 -inform infor
m -x 51 0x20 -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 19
0x400000 -x 28 0x40000 -x 120 0x10000000 -x 70 0x8000 -x 122 1 -x 125 0x20000 -q
uad -vect 60 -y 34 16 -x 34 0x8 -x 32 6291456 -y 19 8 -y 35 0 -x 42 0x30 -x 39 0
x40 -x 39 0x80 -x 34 0x400000 -x 149 1 -x 150 1 -x 59 4 -x 59 4 -x 6 0x100 -tp i
stanbul -x 120 0x1000 -x 124 0x1400 -y 15 2 -x 57 0x3b0000 -x 58 0x48000000 -x 4
9 0x100 -x 120 0x200 -astype 0 -ieee 1 -inlib /tmp/pgf90IHHgMweiW-Lb.ext -x 14 3
2 -x 124 1 -x 42 0x400000 -x 163 0x10001 -x 176 8 -accel nvidia -x 163 0x40 -x 1
76 0x140000 -x 177 0x0202007f -x 176 8448 -x 137 1 -x 176 0x140000 -x 177 0x0202
007f -x 176 8448 -x 176 8 -quad -x 119 0x10000000 -x 129 0x40000000 -x 129 2 -x
42 0x14200000 -y 39 1 -x 80 0x800000 -x 0 0x1000000 -x 2 0x100000 -x 0 0x2000000
-x 161 16385 -x 162 16385 -cmdline '+pgf90 /users/lapixa/GPU/turb_standalone_1a
/src/turb_standalone.f90 -c -I. -I/users/lapixa/GPU/turb_standalone_1a/src -I/ap
ps/eiger/mvapich2/1.5.1p1/mvapich2-gnu/include -D__MPICH2 -Kieee -Mbyteswapio -M
free -Mpreprocess -Minform=inform -D__COSMO__ -ta=nvidia,cc20,nofma -v -Mcuda -M
cache_align -Mflushz -Mlre -Mprefetch -Mpreprocess -Mscalarsse -Mvect=noassoc -M
vect=sse -O3 -Minline -Minfo=inline,accel -o turb_standalone.o' -asm /tmp/pgf90Y
HHgw6r1CeEf.s
turb_standalone:
702, Generating local(vari(:,:,:))
Generating local(a(:,:,:))
Generating local(tket_hshr_b(:,:))
...
(here is a long list of generating local, update)
....
Generating !$acc update host(tkvm_b(:,:))
Generating !$acc update host(tke_b(:,:,:))
779, Generating !$acc update host(gz0_b(:))
0 inform, 0 warnings, 0 severes, 0 fatal for turb_standalone
PGF90-F-0701-Error reading temp file - dtype (/users/lapixa/GPU/turb_standalone_1a/src/turb_standalone.f90)
PGF90/x86-64 Linux 11.8-0: compilation aborted
pgf90-Fatal-f902 completed with exit code 1

Unlinking /tmp/pgf90YHHgwlNbvTE6.ilm
Unlinking /tmp/pgf90cHHggMGpxGkq.ilm
Unlinking /tmp/pgf90sHHg2wLubxBR.cmod
Unlinking /tmp/pgf90IHHgMnqkw7B4.cmdx
Unlinking /tmp/pgf90YHHgw6r1CeEf.s
Unlinking directory /tmp/pgf90IHHgMweiW-Lb.ext
gmake[1]: *** [turb_standalone.o] Error 2
gmake[1]: Leaving directory `/users/lapixa/GPU/turb_standalone_1a/obj'
gmake: *** [paropt] Error 2


Xavier
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6208
Location: The Portland Group Inc.

PostPosted: Tue Sep 06, 2011 2:10 pm    Post subject: Reply with quote

Hi Xavier,

Can you please send an example code that reproduces the error to PGI Customer Service (trs@pgroup.com)? We have not seen this error before so will need the source to determine what the problem is.

Thanks,
Mat
Back to top
View user's profile
xlapillonne



Joined: 16 Feb 2011
Posts: 69

PostPosted: Mon Sep 19, 2011 8:04 am    Post subject: Reply with quote

Hi Mat,

I was away for some days. I have just sent an example to trs@pgroup.com.


Xavier
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group