Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8424609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:02:34+00:00 2026-06-10T04:02:34+00:00

I am trying to learn fortran90/95 for a class on vector and parallel scientific

  • 0

I am trying to learn fortran90/95 for a class on vector and parallel scientific computation. I’m working on Windows Vista 32 bit and I downloaded (what I believe to be, anyway) the version of the gfortran compiler for my operating system from here.

To test if it was working, I wrote a hello world program as follows:

program testfortran
    write(*,*) 'Hello world!"
end program testfortran

pretty much verbatim from a fortran tutorial. When I try to compile it:

gfortran testfortran.f90

it gives me the following response:

C:\Program files\gfortran\bin/1d.exe: cannot open output file a.exe: Permission denied
collect2.exe: error: 1d returned 1 exit status

As an engineer, pretty much all of my programming experience has been with interpreted languages like Matlab and I’m not very familiar with compiled languages. I don’t know if I’m just making a really dumb error or what. Any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:02:36+00:00Added an answer on June 10, 2026 at 4:02 am

    The a.exe: Permission denied message implies that you don’t have permission to write to the current directory. What directory is testfortran.f90 in? Can you create a file in the same directory (say, echo hello > hello.txt)? Can you try it in a different directory? (It does seem odd, though; if you can create testfortran.f90 in that directory, you should be able to create a.exe in the same directory.)

    Or perhaps, there’s already an a.exe file in that directory, and you don’t have permission to overwrite it. Try

    gfortran testfortran.f90 -o testfortran.exe
    

    Also, your error message refers to 1d.exe. I would expect it to be ld.exe, the linker. And your sample program has mismatched quotation marks: 'Hello world!". It’s best to copy-and-paste your source code and any error messages rather than re-typing them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to learn a bit about PDO and is going through this tutorial .
Im trying to learn a bit about c++ and have run in to some
Im trying to learn class-based views, for a detail or list view is not
In trying to learn JavaScript closures, I've confused myself a bit. From what I've
While trying to learn c++, I tried to implement class representing very basic trie.
I'm trying to learn to use the Bing Maps API for Android. I downloaded
Trying to learn HTML5 and downloaded a test project https://github.com/amiklosi/Comicr . There is a
trying to learn windows programming in java, want to display a image to a
Trying to learn C++ and working through a simple exercise on arrays. Basically, I've
Trying to learn a bit of CSS and I want a horizontal navbar and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.