Fortran FORTRAN - SUBST help and error

  • Thread starter Thread starter ns2455
  • Start date Start date
  • Tags Tags
    Error Fortran
AI Thread Summary
The discussion centers on a user seeking help with FORTRAN code, specifically regarding the purpose of SUBST and DSUBST, and an error encountered during compilation. It is clarified that SUBST and DSUBST are likely preprocessor or makefile macros unrelated to FORTRAN itself. The user also reports an error message indicating an "Unmatched quote," which is linked to a potential missing quote in the makefile. Ultimately, the user resolves the issue, identifying that a capitalization inconsistency in the code was the root cause of the errors.
ns2455
Messages
2
Reaction score
0
Hi,

I am new to FORTRAN and trying to debug/compile some code passed on to me.
2 questions:

- What purpose does SUBST or DSUBST serve?
- When I run my Makefile I keep getting the following error:
'PGF90-S-0026-Unmatched quote'
According to the PG manual this translates to 'Integer constant is too large for 32 bit word'
I have tried a bunch of different things but the issue is still unresolved. Any insight on this?

Thanks!
 
Technology news on Phys.org
Since no one has replied, I'll take a shot. I don't believe that SUBST and DSUBST have anything to do with Fortran. Instead, it appears that they are preprocessor or makefile macros that are used when you build (i.e., compile and link) your application.

For the error message you show, I would look at the make files to see if there is a missing quote somewhere.

Hope this helps...
 
Hey,

Thanks for your help. We were able to fix the problem. It was a capitalization inconsistency that was leading to all these different errors.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
5
Views
5K
Replies
16
Views
2K
Replies
9
Views
2K
Replies
7
Views
4K
Replies
4
Views
2K
Back
Top