Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

migrate project CVF6.6c to IVF

Renaud_Egal
초보자
6,081 조회수

Hey folks !

I have a working project on Compaq visual fortran (written a couple years back now), but I'd like to migrate it to IVF to work on it.

Problem, I have a few compatibility problems I would need help on.

First thing first, this annoying error 6796 on pointers

R:\r.egal\Projets en cours\Programmes\Prosec3D\Test Intel\Prosec3D\Source1.f90(6): error #6796: The variable must have the TARGET attribute or be a subobject of an object with the TARGET attribute, or it must have the POINTER attribute.   [MAILLE]

The corresponding code (simplified) would be 

	subroutine case_x(maille)
		integer, intent(inout) :: maille
		integer, pointer :: pt_P
!-----------------------------------
		nullify(pt_P)
		pt_P=>maille
	end subroutine case_x

Why do I have this error when it works just fine in older versions ?

Is there an option in the project properties I'd have to check ?

Please advise

Cheers

Renaud

0 포인트
46 응답
JVanB
소중한 기여자 II
727 조회수

From the link the OP posted, it seemed possible that installation of NVIDIA drivers may have corrupted the PATH environmental variable. It seemed to me possible that a clean install might fix such corruption without much effort.

 

0 포인트
Renaud_Egal
초보자
727 조회수

Steve Lionel (Intel) wrote:

I'm sorry that you're having these problems - could we perhaps arrange for me to connect to your system and have a look to see what is happening? If this is acceptable, I'll send you email and arrange a time for this.

Sure, we could do that ;)

But it seems that NVidia modifies dynamically the path value, so that appears in fortran build log. The link says that indeed NV could be the problem adding dumb "." or useless ";".

I'll look into reinstalling the drivers, but since I am not really the administrator of my computer-IT department- (I have admin rights though), that's quite complicated to go that far. The model of my graphic card is exactly the same as the one mentioned in the link above. That's why I thought it would be relevant.

0 포인트
Steven_L_Intel1
727 조회수

I had not clicked on your link before - wow - I would never have guessed that the Nvidia Optimus technology would create this problem. It does seem as if a later driver might fix it and you should ask your administrator to update the driver and see if that resolves the issue.

0 포인트
Renaud_Egal
초보자
727 조회수

Well, I guess I works fine now !

I updated the graphic card driver and the environment variable problem just disappeared. Project now compiles and links properly.

I uploaded for information the buildlog I'm getting now.

Thank you really much for your help Doc'

0 포인트
Steven_L_Intel1
727 조회수

Great to know! This is one I'm going to write down....

0 포인트
응답