For Programmers: Free Programming Magazines  


Home > Archive > Fortran > August 2005 > asp .net for fortran









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author asp .net for fortran
vesper_carmen@yahoo.com

2005-08-21, 2:56 am

Hi,

We want to provide input to a fortran program from a web browser. We
also want to be able to save the output of the fortran program to a
file. Is there any elegant and maintainable way to do this? How about
using asp .net to create web forms?

-Dawn

Madhusudan Singh

2005-08-21, 6:57 pm

vesper_carmen@yahoo.com wrote:

> Hi,
>
> We want to provide input to a fortran program from a web browser. We
> also want to be able to save the output of the fortran program to a
> file. Is there any elegant and maintainable way to do this? How about
> using asp .net to create web forms?
>
> -Dawn


ASP .net might or might not be elegant, but it won't be portable. PHP might
be the better way to go.
Helge Avlesen

2005-08-21, 6:57 pm

vesper_carmen@yahoo.com writes:

> Hi,
>
> We want to provide input to a fortran program from a web browser. We
> also want to be able to save the output of the fortran program to a
> file. Is there any elegant and maintainable way to do this?


since many (most?) fortran compilers supports the calls getenv/setenv
(e.g. ifort and g95) you can use fortran executables directly via CGI,
one example at

http://www.fcc.gov/mb/audio/bickel/colorit.html

Helge
apm

2005-08-24, 6:59 pm


<vesper_carmen@yahoo.com> wrote in message
news:1124606878.322678.173490@g43g2000cwa.googlegroups.com...
> Hi,
>
> We want to provide input to a fortran program from a web browser. We
> also want to be able to save the output of the fortran program to a
> file. Is there any elegant and maintainable way to do this? How about
> using asp .net to create web forms?


This should work. It works well for me. I would recomend compiling the
Fortran to a dll as standard Fortran then calling the dll from the .net
language. Fortran.net is not well standardized. It may not even be possible
to make the conversion.
>
> -Dawn
>



vesper_carmen@yahoo.com

2005-08-25, 3:57 am

Thanks a lot. I will be starting work on this soon. Is it ok if I email
you sometimes for guidance? I do not have your email ID.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com