How to create Fortran DLL in Visual Studio with Intel Fortran compiler

The following link is a PowerPoint presentation on creating a Fortran DLL with intel fortran compiler in visual studio!!

Please click the link to view the presentation!

Create Fortran DLL with Visual Studio

Created this to help a friend trying to do the same for his work. Thought it will be nice to have it online for everyone else.

Maybe next post, I will post how to use this DLL with microsoft excel!!  Stay tuned!!

More posts

  1. Fortran 90 with Excel – gfortran example

  2. How to use pgplot in windows with Intel Fortran?

  3. STL file reader in fortran

  4. Boxplot in excel 
  5. Fortran DLL and Excel VBA how to mesh them together?

About these ads

Tagged: , , , , , ,

8 thoughts on “How to create Fortran DLL in Visual Studio with Intel Fortran compiler

  1. [...] informs me Creating fortran DLL in microsoft visual studio with intel fortran compiler is the top post of [...]

  2. [...] How to create fortran DLL with intel compiler using Visual Studio? [...]

  3. 2012 in Review « SukhbinderSingh.com January 4, 2013 at 4:19 pm Reply

    [...] How to create Fortran DLL in Visual Studio with Intel Fortran compiler [...]

  4. [...] it into a dll or some library and use with new languages. This explains the popularity of the post how to create fortran dll in visual studio on this [...]

  5. Top 5 posts | SukhbinderSingh.com July 16, 2013 at 10:15 pm Reply

    […]  How to create a fortran dll in visual studio? […]

  6. option bot March 18, 2014 at 4:21 pm Reply

    I am extremely inspired along with your writing talents and also with
    the format in your blog. Is that this a paid theme
    or did you customize it yourself? Anyway stay up the excellent high quality
    writing, it’s rare to peer a great weblog like this one these days..

    • sukhbinder March 18, 2014 at 7:03 pm Reply

      Thanks!!! It’s a free theme with simple mods!!!

  7. Nupur May 13, 2014 at 11:33 pm Reply

    Hi

    This was a very useful post. I have a question on creating DLL for fortran code.
    The structure of my fortran .f90 code is as follows:

    program ABC
    ..
    ..
    end program ABC

    subroutine XYZ
    ..
    ..
    end subroutine XYZ

    subroutine PQ
    ..
    ..
    end subroutine PQ

    Your post shows to create a DLL for the subroutine by adding the 2 lines of code between the subroutine. I am looking for converting my complete code (including program) into a DLL to be accessed in C#.NET.

    Could you please tell me how can I achieve this? Any information on this regards would be greatly appreciated.

    Thank you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 975 other followers

%d bloggers like this: