Hi,
I installed PGI 16.10 as you advised (with VS Shell). I thus also had to reinstall CUDA 8.0 (I previously had CUDA 9.0). I now have another problem when navigating through visual studio options. As soon as I try to access in the project properties “fortran > Target Accelerators”, the program crashes.
I found two errors details in the computer system. Sorry, they are in French but I think you can still understand them. The first one is a “.NET Runtime” error :
Application : devenv.exe
Version du Framework : v4.0.30319
Description : le processus a été arrêté en raison d'une exception non gérée.
Informations sur l'exception : System.AccessViolationException
à System.StubHelpers.MngdNativeArrayMarshaler.ConvertContentsToManaged(IntPtr, System.Object ByRef, IntPtr)
à System.Windows.Forms.UnsafeNativeMethods+IDispatch.Invoke(Int32, System.Guid ByRef, Int32, Int32, tagDISPPARAMS, System.Object[], tagEXCEPINFO, IntPtr[])
à System.Windows.Forms.ComponentModel.Com2Interop.ComNativeDescriptor.GetPropertyValue(System.Object, Int32, System.Object[])
à System.Windows.Forms.ComponentModel.Com2Interop.Com2TypeInfoProcessor.InternalGetProperties(System.Object, ITypeInfo, Int32, Int32 ByRef)
à System.Windows.Forms.ComponentModel.Com2Interop.Com2TypeInfoProcessor.GetProperties(System.Object)
à System.Windows.Forms.ComponentModel.Com2Interop.ComNativeDescriptor.GetPropsInfo(System.Object)
à System.Windows.Forms.ComponentModel.Com2Interop.ComNativeDescriptor.GetProperties(System.Object, System.Attribute[])
à System.Windows.Forms.ComponentModel.Com2Interop.ComNativeDescriptor+ComTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties(System.Attribute[])
à System.ComponentModel.TypeDescriptor+TypeDescriptionNode+DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties(System.Attribute[])
à System.ComponentModel.TypeDescriptor.GetPropertiesImpl(System.Object, System.Attribute[], Boolean, Boolean)
à System.ComponentModel.ComponentConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object, System.Attribute[])
à System.Windows.Forms.PropertyGridInternal.PropertiesTab.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object, System.Attribute[])
à Microsoft.VisualStudio.PropertyBrowser.VSPropertiesTab.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object, System.Attribute[])
à System.Windows.Forms.PropertyGridInternal.GridEntry.GetPropEntries(System.Windows.Forms.PropertyGridInternal.GridEntry, System.Object, System.Type)
à System.Windows.Forms.PropertyGridInternal.GridEntry.CreateChildren(Boolean)
à System.Windows.Forms.PropertyGridInternal.SingleSelectRootGridEntry.CreateChildren()
à System.Windows.Forms.PropertyGridInternal.GridEntry.set_InternalExpanded(Boolean)
à System.Windows.Forms.PropertyGridInternal.GridEntry.Create(System.Windows.Forms.PropertyGridInternal.PropertyGridView, System.Object[], System.IServiceProvider, System.ComponentModel.Design.IDesignerHost, System.Windows.Forms.Design.PropertyTab, System.Windows.Forms.PropertySort)
à System.Windows.Forms.PropertyGrid.UpdateSelection()
à System.Windows.Forms.PropertyGrid.RefreshProperties(Boolean)
à System.Windows.Forms.PropertyGrid.Refresh(Boolean)
à System.Windows.Forms.PropertyGrid.set_SelectedObjects(System.Object[])
à Microsoft.VisualStudio.PropertyBrowser.PropertyBrowser+GridProxy.Microsoft.VisualStudio.Designer.Interfaces.IVSMDPropertyGrid.SetSelectedObjects(Int32, Int32)
The second one is an “Application” error:
Nom de l’application défaillante devenv.exe, version : 14.0.23107.0, horodatage : 0x559b7ead
Nom du module défaillant : OLEAUT32.dll, version : 6.1.7601.23775, horodatage : 0x58f4db68
Code d’exception : 0xc0000005
Décalage d’erreur : 0x0000462e
ID du processus défaillant : 0x185c
Heure de début de l’application défaillante : 0x01d369bf56ddf7f5
Chemin d’accès de l’application défaillante : C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
Chemin d’accès du module défaillant: C:\Windows\syswow64\OLEAUT32.dll
ID de rapport : a3ee083b-d5b2-11e7-95fa-64006a6e8747
Do you know why do I get these error after I reinstalled everything ?[/quote]