ac-dias / SLME-fortran90

SLME implementation in Fortran90
GNU General Public License v3.0
4 stars 1 forks source link

Getting error with SLME code #1

Closed kcbhamu closed 2 years ago

kcbhamu commented 2 years ago

Hii Thanks for a nice code that will make the task easy for many of users. I have compiled it with ifort. I kept my absorption coefficient file in the dir and then executed below commans ./pce.x 1.79 1.79 50e-6 < abs_coef > pce.out

I am getting below error: forrtl: severe (24): end-of-file during read, unit -4, file /proc/1932/fd/0 Image PC Routine Line Source
pce.x 000000000040BEBB Unknown Unknown Unknown pce.x 00000000004283CF Unknown Unknown Unknown pce.x 0000000000404206 Unknown Unknown Unknown pce.x 0000000000403EA2 Unknown Unknown Unknown libc-2.17.so 00002AFD6FC8B555 __libc_start_main Unknown Unknown pce.x 0000000000403DA9 Unknown Unknown Unknown

my absorption data is in m^-1. I am attaching my files below https://www.filemail.com/d/negjeebrhxnotzx

Could you please have a look at it?

ac-dias commented 2 years ago

This code was made to run with VASP output, so to run with your data you will do the following changes, in pce-code.f90:

line 14: integer,parameter :: noptics=98 line 91: #read(,) flag line 95: read(,) abscoef(i,1),aflag(2) line 96: abscoef(i,2) = aflag(2)

and compile again.

Do this and tell me if things goes right.

Prof. Dr. Alexandre Cavalheiro Dias Adjunct Professor Physics Institute - University of Brasilia (UnB)

Lattes ID: http://lattes.cnpq.br/6101630210269302 ORCID:https://orcid.org/0000-0001-5934-8528 Google Scholar: https://scholar.google.com.br/citations?hl=pt-BR&user=0Pe4TDQAAAAJ


De: kcbhamu @.> Enviado: terça-feira, 24 de maio de 2022 11:06 Para: ac-dias/SLME-fortran90 @.> Cc: Subscribed @.***> Assunto: [ac-dias/SLME-fortran90] Getting error with SLME code (Issue #1)

Hii Thanks for a nice code that will make the task easy for many of users. I have compiled it with ifort. I kept my absorption coefficient file in the dir and then executed below commans ./pce.x 1.79 1.79 50e-6 < abs_coef > pce.out

I am getting below error: forrtl: severe (24): end-of-file during read, unit -4, file /proc/1932/fd/0 Image PC Routine Line Source pce.x 000000000040BEBB Unknown Unknown Unknown pce.x 00000000004283CF Unknown Unknown Unknown pce.x 0000000000404206 Unknown Unknown Unknown pce.x 0000000000403EA2 Unknown Unknown Unknown libc-2.17.so 00002AFD6FC8B555 __libc_start_main Unknown Unknown pce.x 0000000000403DA9 Unknown Unknown Unknown

my absorption data is in m^-1. I am attaching my files below https://www.filemail.com/d/negjeebrhxnotzx

Could you please have a look at it?

— Reply to this email directly, view it on GitHubhttps://github.com/ac-dias/SLME-fortran90/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUFIB3S7Z42UYJBXAHMIUELVLTPAFANCNFSM5WZWNOJA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

kcbhamu commented 2 years ago

read(,) flag here it does not recognize #.

kcbhamu commented 2 years ago

without #, it could run.

ac-dias commented 2 years ago

Delete this line.

Enviado do meu iPhone

Em 24 de mai. de 2022, à(s) 11:24, kcbhamu @.***> escreveu:



read(,) flag here it does not recognize #.

— Reply to this email directly, view it on GitHubhttps://github.com/ac-dias/SLME-fortran90/issues/1#issuecomment-1135997544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUFIB3UDW6WXV2U5K67URBDVLTRCVANCNFSM5WZWNOJA. You are receiving this because you commented.Message ID: @.***>

kcbhamu commented 2 years ago

It worked. Thank you very much.