adda-team / adda

ADDA - light scattering simulator based on the discrete dipole approximation
GNU General Public License v3.0
96 stars 57 forks source link

ADDA in ubuntu 16.04.4 #233

Closed hazraatrayee closed 6 years ago

hazraatrayee commented 6 years ago

After downloading the ZIP file and extracting it into home I found that there is no adda c program file under seq folder.

During linking when "make seq" command is executed while positioned in src it is showing error as mentioned below.

dell@dell-OptiPlex-3050:~$ cd adda-master dell@dell-OptiPlex-3050:~/adda-master$ cd src dell@dell-OptiPlex-3050:~/adda-master/src$ make seq --- Compilation options: --- Release mode FFTW3 Compiler set 'gnu'

Compiling sequential version of ADDA make -C seq make[1]: Entering directory '/home/dell/adda-master/src/seq' g77 -c -O3 -ffast-math -funroll-loops -w ../fort/d07hre.f make[1]: g77: Command not found ../common.mk:81: recipe for target 'd07hre.o' failed make[1]: [d07hre.o] Error 127 make[1]: Leaving directory '/home/dell/adda-master/src/seq' Makefile:481: recipe for target 'seq' failed make: [seq] Error 2

Could you please help me regarding his problem.

myurkin commented 6 years ago

Please provide the particular error message that you get during compilation. Otherwise, please read carefully https://github.com/adda-team/adda/wiki/CompilingADDA - it may contain a solution to your problem. In particular, look at the required libraries (dependencies).

hazraatrayee commented 6 years ago

Dear Sir, Thank you for your kind reply and information. I have edited the problem and have provided the error message showing.

Regards

Atrayee Hazra

PhD Scholar

M. N. D. School of Material Science and Engineering

Indian Institute of Engineering Science and Technology, Shibpur

(Formerly known as Bengal Engineering and science University, Shibpur),

West Bengal, India.

Mobile No. 9830702646

On Tue, May 15, 2018, 17:02 Maxim Yurkin notifications@github.com wrote:

Please provide the particular error message that you get during compilation. Otherwise, please read carefully https://github.com/adda-team/adda/blob/wiki/CompilingADDA.md - it may contain a solution to your problem. In particular, look at the required libraries (dependencies).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adda-team/adda/issues/233#issuecomment-389134637, or mute the thread https://github.com/notifications/unsubscribe-auth/AecxxdO_z5Im0V1CvnyEoqkdRgEjEllwks5tyrzfgaJpZM4T_Q9e .

DaveOri commented 6 years ago

I think you didn't installed a fortran 90 compiler. The Makefile fallsback to g77 which is expected to fail. Install gfortran

sudo apt install gfortran
hazraatrayee commented 6 years ago

Thank you very much for your kind reply. the problem is solved and ADDA has been installed successfully by installing gfortran.