Hi, let me premise by saying I'm ling-retard illiterate. I understand how things work but I am not familiar with the lingo of compilers, and software and hence am having a lot of problems. Let me write down the problem first,
Trying to compile a blank program,
[code]
program test
implicit none
include 'mpif.h'
integer, parameter :: i = 16; ! number of rows
integer, parameter :: j = 16; ! number of columns
integer :: ierror,npe,rnk;
call mpi_init(ierror);
call mpi_comm_size(mpi_comm_world,npe,ierror)
call mpi_comm_rank(mpi_comm_world,rnk,ierror)
call mpi_finalize(ierror);
end program
[/code]
I use
ifort test.f90
and get the following error.
ifort: error #10037: could not find 'link'
I've tried googling this error without any useful stuff. I don't have visual studios installed and as I understand I can compile code using command line without visual studios. Anyone willing to explain this to me or just point me to something I can read that would help I'd greatly appreciate it.
Longer story, is I just want to write code and compile it on my machine before porting it to HPC systems. I can't compile, test and run code there from bottom up. I'd like to do this on my windows machine, yes hate me I use windows instead of linux or macs. There are no fortran mpi compilers that are free unfortunately for windows, or I haven't been able to find one. Right now I'm running a trial version of the intel cluster hoping that maybe it'll be a solution for me. I can for example use the code::blocks ide to compile fortran open mp code. I don't expect to use the ide with the intel compiler as I don't think that's possible, but if I can use command lines to just compile code to test that it works I'll be very happy. Anyway sorry for being so ignorant but any help is greatly appreciated.