The openMX code (http://www.openmx-square.org/download.html) is a software package for nano-scale material simulations based on density functional theories. it has a make file which contains C and fortran compiler executable, libraries and include files,
see below:
CC = mpicc -O3 -fopenmp -Dnosse -I/usr/include -I/mirror/fftw/include -I/mirror/mpich/include
FC = mpif90 -O3 -fopenmp -Dnosse -I/usr/include -I/mirror/fftw/include -I/mirror/mpich/include
LIB=-L/mirror/lib -llapack -lblas -lfftw3 -L/mirror/mpich -lmpi -lmpicxx -lmpifort -lpthread -lgfortran
I want to compile this program for windows as can be run independently. I don't know is it possible with MinGw? how can i use mpicc and mpif90 compilers and lapack, blas and fftw3 libraries for mingw?
Thank you