- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having fortran90 modeling source code and Makefile for linux on attached file.
I created execution file for this code on ubuntu OS, and now I want to create executable file for window 10 (64bit).
For this, I installed Microsoft Visual Studio 2010 and Intel Visual Fortran.
But I don't know how to start intel visual fortran? Can you give me a information about procedure to compile it?
If possible, I want to use Makefile on window os. Can you give me information how to use it on window os and how to install and assign netcdf and lapack library in Makefile?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Microsoft Visual C++ (or the bundled Visual Studio Shell-based environment) provides nmake, which is a Microsoft variation on make. Some people use cmake as an alternative, which they obtain separately. You can read the Microsoft documentation on nmake.
If you want to link to specific libraries, the easiest way is to just give the full path to each library on the command that links the executable (generally "ifort" if you're building an Intel Fortran program.) Remember to enclose the path in "" if there are any embedded blanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For netcdf, you really should consult the official sites, e.g. https://www.unidata.ucar.edu/software/netcdf/docs/winbin.html
That site is exemplary in some ways; for example, it discusses the alternatives of cmake and gnu make (yes, even for windows).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a makefile comparison for both Linux and Windows in another topic that may help you:
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/673617
I have found that just a few changes are needed to convert a makefile from one OS to another.
Regards, Greg
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page