- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to compile sq.f90, but this code is MPI,then for this purpose I define MPIFC in makefile but after run
I get this error:
[hamid@localhost Sq]$ make
mpif90 -c -O2 -ffast-math -o sq sq.f90 dlprw.o utility.o parse.o
sq.f90:191.96:
) "Error - mapping original type ",origtype(n)," to new type ", newtype(n)," us
1
Error: Unterminated character constant beginning at (1)
sq.f90:191.132:
rigtype(n)," to new type ", newtype(n)," uses a different isotope than one
1
Warning: Line truncated at (1)
sq.f90:314.55:
write(12,"(i2,2x,a6,1x,f7.0,3x,f7.4,2x,a6,2x,f7.4)") (n,uniquetypes(n),typepops
1
Error: Expected PARAMETER symbol in complex constant at (1)
sq.f90:314.132:
niquetypes(n),typepops(n),typepops(n)/natms,isonames(uniqueiso(n)),isoscatt
1
Warning: Line truncated at (1)
sq.f90:648.132:
5)*binwidth, partialsq(alpha,beta,n), m2n(alpha,beta,n), totaladded(n), par
1
Warning: Line truncated at (1)
sq.f90:648.132:
5)*binwidth, partialsq(alpha,beta,n), m2n(alpha,beta,n), totaladded(n), par
1
Error: Symbol 'par' at (1) has no IMPLICIT type
sq.f90:176.10:
success = readline(15)
1
Warning: Extension: Conversion from LOGICAL(4) to INTEGER(4) at (1)
make: *** [sq] Error 1
-------------------------but some friendssaidto me that I need to define -ffree in flags but I geterrors:
don't recognized -ffree
Please attach file and help to me for compilation
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are using a non-Intel compiler, so this thread is a little out of place here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel MPI has mpif90 built with gfortran, while mpiifort is the ifort equivalent.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page