Replies : 1 Last Post : February 18, 2017 (Sat) 09:07:15

197

Installation probelm

Posted on : February 18, 2017 (Sat) 07:26:23

by Chung-Yul Yoo

To whom may it concern,

I have faced the error as given below when I try to compile using make command.

Thank you for your help in advance.

Best regards,
Chung-Yul

error message
-------------------------------------------------------------
ifort -O2 -mcmodel=medium -o source/specx.o -c source/specx.f
make: ifort: Command not found
make: *** [source/specx.o] Error 127

 
 

198

[Re:01] Installation probelm

Posted on : February 18, 2017 (Sat) 09:07:15

by Administrator

The error means that your system does not have Intel Fortran Compiler. What you can do now is to implement the Intel compiler (not free) or to use gfortra instead of Intel Fortran Compiler. To use gfortran, you have to edit the "makefile", which is located at your current directory, as follows:

First, comment out the lines
#######################################
# Intel compiler used
# In the case of ifort 16.0.0 or later
#######################################
fort = ifort
flag = -O2 -mcmodel=medium
omp = -qopenmp
nomp = -qopenmp-stubs
#
such that

#######################################
# Intel compiler used
# In the case of ifort 16.0.0 or later
#######################################
#fort = ifort
#flag = -O2 -mcmodel=medium
#omp = -qopenmp
#nomp = -qopenmp-stubs
#

and then uncomment the following lines such that

#######################################
# GNU Fortran compiler used
# In the case of gfortran
#######################################
fort = gfortran
flag = -O2
omp = -fopenmp
nomp =

If this works, your system has "gfortran"
If this again causes errors, you have to install gfortran yourself. It is free software and rather easy to install. If you get any trouble in this stage, you should ask the system administrator.

KKR Administrator

 
 

POST NEW TOPIC

ID (Email)

Password

このたび、AkaiKKRのページをセキュリティ対策の一環として、システムを変更いたしましので、BBSへの書き込みはアカウント登録が必要です。
お手数かけて申し訳ございませんが、登録ページから新規登録をお願いいたします。

For security reasons, we have renewed the AkaiKKR website. Now, you need your account to send a message to BBS. If you do not have an account yet, please register.