Silverfrost Forums

Welcome to our forums

Fortran compiler can'd find .NET subsystem

10 Jun 2005 3:07 #188

I just downloaded the personal edition to try mixed programming with C# under .net., and I can't get any Fortran files to compile - even in a simple Fortran-only project. I get this error message every time. I've uninstalled and reinstalled, but still get this:

fatal 1129 - Unable to communicate with the .NET subsystem

Any advice would be greatly appreciated. Thanks.

  • Charlie Fitts
11 Jun 2005 1:58 #191

Hi Robert,

I have installed MS Visual Studio.NET 2003, which is MS Development environment version 7.1.3088 and MS .NET Framework 1.1.4322. I understand that the SDK is installed with Visual Studio.NET 2003. Here are some relevant facts:

  1. before installing any of the .net stuff, I used Compaq Visual Fortran and it worked fine.
  2. I then installed Visual Studio.NET 2003 and began working with c# - that worked fine.
  3. I downloaded and installed Salford Ftn95 .Net, and it appeared OK, but would not compile, giving the error message in my original post.
  4. I uninstalled Salford Ftn95, uninstalled Compaq Visual Fortran, and reinstalled Salford Ftn95, and still have the problem.

Thanks for putting some thought into this.

  • Charlie
24 Jun 2005 7:01 #208

Sorry, I did't see the replies because of the default settings of this forum was set to 'Normal' (and all replies were hidden).

24 Jun 2005 7:04 #209

I am not a Fortran programmer, so what is 'the most trivial exmple'?

And where is the /clr and /link option set?

I am working with Visual Studio .NET 2003.

24 Jun 2005 7:04 #210

I am not a Fortran programmer, so what is 'the most trivial exmple'?

And where is the /clr and /link option set?

I am working with Visual Studio .NET 2003.

24 Jun 2005 7:19 #211

Thanks for the comment, Torbjorn. For now, I'm off of this problem, and actually thinking I will do all this project in C#, since I found at least two nice math libraries for C# that implement all I need for my computations, and will probably be faster since I won't have to do so much array copying to go between Fortran and C# (Fortran stores 2D arrays in row-major order, and C# does it in column-major order). Thanks again.

Charlie

28 Jun 2005 1:14 #216

Thanks a lot for replying!

This worked fine. Here is the output of the command prompt:


C:\Documents and Settings\toreng\My Documents>FTN95 test.f95 /clr /link [FTN95/.net Ver. 4.8.0 Copyright (C) Salford Software Ltd 1993-2005] NO ERRORS [<HELLO> FTN95/.NET v4.8.0] Assembly file test.EXE produced

C:\Documents and Settings\toreng\My Documents>

When running the application, 'Hello World' is printed to the console.

Thanks, Torbjørn

PS! I have re-installed the trial version of the Lahey/Fujitsu Fortran compiler

28 Jun 2005 5:39 #217

Thanks,

I suspect that the Lahey compiler is part of the trouble. A partner has the Intel Fortran compiler installed, and after installing Lahey he has had trouble with his Intel compiler. Even after he uninstalled the Lahey compiler, parts of it 'remains' in Visual Studio.

Please login to reply.