- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just wanted to check if my Fortran creates dll files OK, as something is wrong when I compile a subroutine using Wamit (a code for wave loads). I use this command on a provided .f-routine
No changes in the routine, only compile. Then I get when I run Wamit:
If I use provided dll file it works. So, found a simple code online for check if dll files are created properly, but it did not work.
I'm a novice in this (all I wanted to do was to run Wamit, and make minor changes in a subroutine), do anybody know what to do, or what is causing the errors?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You evidently have a free-form Fortran source but named it with a .f file type, so the compiler thinks it is fixed form. Rename your helloworld.f to helloworld.f90 See Doctor Fortran in "Source Form Just Wants to be Free" - Doctor Fortran (stevelionel.com)
I am unsure what you are trying to do. You can't take a main program and create a DLL from it.
The "Unable to start" error could be that you're mixing 32-bit and 64-bit, but you have shown only the error messages so it's hard to tell.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page