Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Feasibility issue

Hi,

I'm a PhD student in ECE at UIUC. My research group developed a semiconductor simulation tool, called MOCA. It's written mainly in Fortran, but has some C and lex/yacc codes in it.

In order to re-engineer the existing code, I've been exploring Fortran tools and come across Photran. I'm pretty familiar with Eclipse, but it seems that there is not much Photran documentation around, so please allow me to question here.

I'm trying to find out if Photran is feasible for MOCA. A couple of bullet points in MOCA are

* It's a huge code. It's been developed since 1980's by generations of graduate students. It consists of 425 files.

* I'ts not pure Fortran. MOCA is composed of source files written in f77, C and lex/yacc codes in it. 95% of the files are f77. For yacc, MOCA has its own input scripts. Lex/yacc is used for input-language parser. The C part was added to interface the parser with the rest of the code, to interface better with UNIX, and also to include dynamic memory allocation without requiring a Fortran-90 compiler. In fact, C is the main program, which calls Fortran subroutines and other C functions.

So my question is, "Would Photran work for MOCA?".

If not, please let me know if there are other fortran tools that might work better for the purpose.

Thank you in advance!

--
Hyung-Seok Hahm

PhD Candidate
Computatoinal Multiscale Nanosystems
Electrical and Computer Engineering
University of Illinois at Urbana-Champaign

Back to the top