[mpich-discuss] linking MPI

Gus Correa gus at ldeo.columbia.edu
Tue Oct 25 10:57:06 CDT 2011


Hi Carolina

Try 'make clean' to start fresh, then do 'make' again.
There may be residual object files from old compilations
causing problems there.
You can also remove all ".o" and ".mod" files, if 'make clean'
doesn't clean the whole thing.

Also, make sure your Intel compiler environment is set correctly.
You need to source the appropriate .sh or .csh file in the
Intel compilers 'bin' directory.

Otherwise, Google for Intel ifort 'error #7001' to see if there is
some hint about this error.

Of course, there is always a chance that the mocassin code has a bug.

I hope this helps.
Gus Correa

Carolina Carneiro wrote:
> Hi Gus,
> 
> I did what you told, but it didn't work either. I don't necessarily have 
> to use -O5 for optimization, but the site where I did the download of 
> the program suggested that. I changed the makefile:
> 
> F90  = /home/carol/mocassin/mpich2-1.4.1p1/bin/mpif90
> LIBS =
> OPT1 = -O3
> OPT2 = -O3
> 
> and now I got this errors:
> 
> carol at carol-HP-Pavilion-dv5-Notebook-PC:~/mocassin/mocassin.2.02.69$ 
> make mocassin
> /home/carol/mocassin/mpich2-1.4.1p1/bin/mpif90 -O3 -o mocassin 
> source/infnan.f90 source/constants_mod.f90 source/vector_mod.f90 
> source/common_mod.f90 source/interpolation_mod.f90 
> source/set_input_mod.f90 source/hydro_mod.f90 source/ph_mod.f90 
> source/composition_mod.f90 source/continuum_mod.f90 
> source/ionization_mod.f90 source/pathIntegration_mod.f90 
> source/grid_mod.f90 source/dust_mod.f90 source/emission_mod.f90 
> source/photon_mod.f90 source/update_mod.f90 source/output_mod.f90 
> source/iteration_mod.f90 source/mocassin.f90 
> source/infnan.f90(1): error #7001: Error in creating the compiled module 
> file.   [INF_NAN_DETECTION]
> module Inf_NaN_Detection
> -------^
> compilation aborted for source/infnan.f90 (code 1)
> source/constants_mod.f90(5): error #7001: Error in creating the compiled 
> module file.   [CONSTANTS_MOD]
> module constants_mod
> -------^
> compilation aborted for source/constants_mod.f90 (code 1)
> source/vector_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [VECTOR_MOD]
> module vector_mod
> -------^
> compilation aborted for source/vector_mod.f90 (code 1)
> source/common_mod.f90(240): warning #6379: The structure contains one or 
> more misaligned fields.   [GRID_TYPE]
>     type grid_type             ! derived grid type
> ---------^
> source/common_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [COMMON_MOD]
> module common_mod
> -------^
> compilation aborted for source/common_mod.f90 (code 1)
> source/interpolation_mod.f90(4): error #7001: Error in creating the 
> compiled module file.   [INTERPOLATION_MOD]
> module interpolation_mod
> -------^
> compilation aborted for source/interpolation_mod.f90 (code 1)
> source/set_input_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [SET_INPUT_MOD]
> module set_input_mod
> -------^
> compilation aborted for source/set_input_mod.f90 (code 1)
> source/hydro_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [ELEMENTS_MOD]
> module elements_mod
> -------^
> compilation aborted for source/hydro_mod.f90 (code 1)
> source/ph_mod.f90(4): error #7001: Error in creating the compiled module 
> file.   [XSEC_MOD]
> module xSec_mod
> -------^
> compilation aborted for source/ph_mod.f90 (code 1)
> source/composition_mod.f90(4): error #7001: Error in creating the 
> compiled module file.   [COMPOSITION_MOD]
> module composition_mod
> -------^
> compilation aborted for source/composition_mod.f90 (code 1)
> source/continuum_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [CONTINUUM_MOD]
> module continuum_mod
> -------^
> compilation aborted for source/continuum_mod.f90 (code 1)
> source/ionization_mod.f90(4): error #7001: Error in creating the 
> compiled module file.   [IONIZATION_MOD]
> module ionization_mod
> -------^
> compilation aborted for source/ionization_mod.f90 (code 1)
> source/pathIntegration_mod.f90(4): error #7001: Error in creating the 
> compiled module file.   [PATHINTEGRATION_MOD]
> module pathIntegration_mod
> -------^
> compilation aborted for source/pathIntegration_mod.f90 (code 1)
> source/grid_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [GRID_MOD]
> module grid_mod
> -------^
> compilation aborted for source/grid_mod.f90 (code 1)
> source/dust_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [DUST_MOD]
> module dust_mod
> -------^
> compilation aborted for source/dust_mod.f90 (code 1)
> source/emission_mod.f90(3109): remark #8291: Recommended relationship 
> between field width 'W' and the number of fractional digits 'D' in this 
> edit descriptor is 'W>=D+7'.
>          
> read(unit=19,fmt='(A2,I2,1x,A23,11x,A7,1x,F9.4,7x,F9.6,4x,F12.6,1x,I2,1x,I2,1x,E8.2,1x,E8.2,1x,I2)', 
> &
> -----------------------------------------------------------------------------------------^
> source/emission_mod.f90(3109): remark #8291: Recommended relationship 
> between field width 'W' and the number of fractional digits 'D' in this 
> edit descriptor is 'W>=D+7'.
>          
> read(unit=19,fmt='(A2,I2,1x,A23,11x,A7,1x,F9.4,7x,F9.6,4x,F12.6,1x,I2,1x,I2,1x,E8.2,1x,E8.2,1x,I2)', 
> &
> -------------------------------------------------------------------------------------------------^
> source/emission_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [EMISSION_MOD]
> module emission_mod
> -------^
> compilation aborted for source/emission_mod.f90 (code 1)
> source/photon_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [PHOTON_MOD]
> module photon_mod
> -------^
> compilation aborted for source/photon_mod.f90 (code 1)
> source/update_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [UPDATE_MOD]
> module update_mod
> -------^
> compilation aborted for source/update_mod.f90 (code 1)
> source/output_mod.f90(3): error #7001: Error in creating the compiled 
> module file.   [OUTPUT_MOD]
> module output_mod
> -------^
> compilation aborted for source/output_mod.f90 (code 1)
> source/iteration_mod.f90(544): warning #8093: A do-variable within a DO 
> body shall not appear in a variable definition context.   [GPLOC]
>                                      & gpLoc=gpLoc, cellLoc=cellLoc)
> ---------------------------------------------^
> source/iteration_mod.f90(547): warning #8093: A do-variable within a DO 
> body shall not appear in a variable definition context.   [GPLOC]
>                                      & gpLoc=gpLoc, cellLoc=cellLoc)
> ---------------------------------------------^
> source/iteration_mod.f90(4): error #7001: Error in creating the compiled 
> module file.   [ITERATION_MOD]
> module iteration_mod
> -------^
> compilation aborted for source/iteration_mod.f90 (code 1)
> make: *** [mocassin] Error 1
> 
> 
> Carolina.
> 
> 
> 
> 2011/10/24 Gus Correa <gus at ldeo.columbia.edu <mailto:gus at ldeo.columbia.edu>>
> 
>     Hi Carolina
> 
>     Sorry, now I see you used the full path to mpif90.
> 
>     You don't need to point to any MPI library or include directory,
>     if you're using the mpif90 compiler wrapper.
>     Note that uppercase "-L" and uppercase "-I"
>     are used for lib and include directories,
>     whereas lowercase L "-l" is used to name a specific library.
>     However, if I understood it right, you seem to be using
>     lowercase L "-l" to point to a path,
>     and actually giving a path to include, not to a library.
> 
>     Anyway, make it simple, just use the mpif90 wrapper,
>     and leave "LIBS=  "  blank  in your makefile,
>     and see if it compiles.
>     As it is now, it may be confusing the linker.
> 
>     Also, better not to compile user programs as root,
>     but as a regular user, in case you're doing this,
>     as your prompt suggests.
> 
>     In addition, -O5 optimization may be quite tricky.
>     Any reason to go beyond -O3?
>     Check 'man ifort' or 'ifort -help opt'.
> 
>     I hope it helps,
> 
>     Gus Correa
> 
>     Carolina Carneiro wrote:
> 
>         Hi guys,
> 
>         I think the path to install directory was wrong, what's strange
>         since I did exactly what the mpich's read me said. Now I got
>         this error:
> 
>         root at carol-HP-Pavilion-dv5-__Notebook-PC:/home/carol/__mocassin/mocassin.2.02.69#
>         make mocassin
>         /home/carol/mocassin/mpich2-1.__4.1p1/bin/mpif90 -O5 -o mocassin
>         source/infnan.f90 source/constants_mod.f90 source/vector_mod.f90
>         source/common_mod.f90 source/interpolation_mod.f90
>         source/set_input_mod.f90 source/hydro_mod.f90 source/ph_mod.f90
>         source/composition_mod.f90 source/continuum_mod.f90
>         source/ionization_mod.f90 source/pathIntegration_mod.f90
>         source/grid_mod.f90 source/dust_mod.f90 source/emission_mod.f90
>         source/photon_mod.f90 source/update_mod.f90
>         source/output_mod.f90 source/iteration_mod.f90
>         source/mocassin.f90
>          -l/home/carol/mocassin/mpich2-__1.4.1p1/src/include
>         source/common_mod.f90(240): warning #6379: The structure
>         contains one or more misaligned fields.   [GRID_TYPE]
>            type grid_type             ! derived grid type
>         ---------^
>         source/emission_mod.f90(3109): remark #8291: Recommended
>         relationship between field width 'W' and the number of
>         fractional digits 'D' in this edit descriptor is 'W>=D+7'.
>                
>         read(unit=19,fmt='(A2,I2,1x,__A23,11x,A7,1x,F9.4,7x,F9.6,4x,__F12.6,1x,I2,1x,I2,1x,E8.2,1x,__E8.2,1x,I2)',
>         &
>         ------------------------------__------------------------------__-----------------------------^
>         source/emission_mod.f90(3109): remark #8291: Recommended
>         relationship between field width 'W' and the number of
>         fractional digits 'D' in this edit descriptor is 'W>=D+7'.
>                
>         read(unit=19,fmt='(A2,I2,1x,__A23,11x,A7,1x,F9.4,7x,F9.6,4x,__F12.6,1x,I2,1x,I2,1x,E8.2,1x,__E8.2,1x,I2)',
>         &
>         ------------------------------__------------------------------__------------------------------__-------^
>         source/iteration_mod.f90(544): warning #8093: A do-variable
>         within a DO body shall not appear in a variable definition
>         context.   [GPLOC]
>                                             & gpLoc=gpLoc, cellLoc=cellLoc)
>         ------------------------------__---------------^
>         source/iteration_mod.f90(547): warning #8093: A do-variable
>         within a DO body shall not appear in a variable definition
>         context.   [GPLOC]
>                                             & gpLoc=gpLoc, cellLoc=cellLoc)
>         ------------------------------__---------------^
>         ld: cannot find
>         -lroot at carol-HP-Pavilion-dv5-__Notebook-PC:/home/carol/__mocassin/mocassin.2.02.69#
>         make mocassin
>         /home/carol/mocassin/mpich2-1.__4.1p1/bin/mpif90 -O5 -o mocassin
>         source/infnan.f90 source/constants_mod.f90 source/vector_mod.f90
>         source/common_mod.f90 source/interpolation_mod.f90
>         source/set_input_mod.f90 source/hydro_mod.f90 source/ph_mod.f90
>         source/composition_mod.f90 source/continuum_mod.f90
>         source/ionization_mod.f90 source/pathIntegration_mod.f90
>         source/grid_mod.f90 source/dust_mod.f90 source/emission_mod.f90
>         source/photon_mod.f90 source/update_mod.f90
>         source/output_mod.f90 source/iteration_mod.f90
>         source/mocassin.f90
>          -l/home/carol/mocassin/mpich2-__1.4.1p1/src/include
>         source/common_mod.f90(240): warning #6379: The structure
>         contains one or more misaligned fields.   [GRID_TYPE]
>            type grid_type             ! derived grid type
>         ---------^
>         source/emission_mod.f90(3109): remark #8291: Recommended
>         relationship between field width 'W' and the number of
>         fractional digits 'D' in this edit descriptor is 'W>=D+7'.
>                
>         read(unit=19,fmt='(A2,I2,1x,__A23,11x,A7,1x,F9.4,7x,F9.6,4x,__F12.6,1x,I2,1x,I2,1x,E8.2,1x,__E8.2,1x,I2)',
>         &
>         ------------------------------__------------------------------__-----------------------------^
>         source/emission_mod.f90(3109): remark #8291: Recommended
>         relationship between field width 'W' and the number of
>         fractional digits 'D' in this edit descriptor is 'W>=D+7'.
>                
>         read(unit=19,fmt='(A2,I2,1x,__A23,11x,A7,1x,F9.4,7x,F9.6,4x,__F12.6,1x,I2,1x,I2,1x,E8.2,1x,__E8.2,1x,I2)',
>         &
>         ------------------------------__------------------------------__------------------------------__-------^
>         source/iteration_mod.f90(544): warning #8093: A do-variable
>         within a DO body shall not appear in a variable definition
>         context.   [GPLOC]
>                                             & gpLoc=gpLoc, cellLoc=cellLoc)
>         ------------------------------__---------------^
>         source/iteration_mod.f90(547): warning #8093: A do-variable
>         within a DO body shall not appear in a variable definition
>         context.   [GPLOC]
>                                             & gpLoc=gpLoc, cellLoc=cellLoc)
>         ------------------------------__---------------^
>         ld: cannot find -l/home/carol/mocassin/mpich2-__1.4.1p1/src/include
>         ld: cannot find -lmpichf90
>         ld: cannot find -lmpichf90
>         make: *** [mocassin] Error 1
> 
> 
>         the directory path
>         /home/carol/mocassin/mpich2-1.__4.1p1/src/include is right, but
>         this file mpichf90 I can't find. When I try "locate mpichf90"
>         nothing happens.
> 
>         Carolina.
> 
>         2011/10/24 Gus Correa <gus at ldeo.columbia.edu
>         <mailto:gus at ldeo.columbia.edu> <mailto:gus at ldeo.columbia.edu
>         <mailto:gus at ldeo.columbia.edu>>__>
> 
> 
>            HI Carolina
> 
>            It is easier to use the MPI compiler wrapper than the
>            bare compiler, because the wrapper knows the MPI libraries it
>         needs,
>            the MPI include files it needs, and where to find them.
> 
>            I.e. try to change the F90 macro in the makefile to
>            F90=/your/path/to/mpich2/bin/____mpif90
> 
> 
> 
>            My two cents,
>            Gus Correa
> 
> 
>            Carolina Carneiro wrote:
> 
>                Hi,
> 
>                I'm having problems to use the command make to compile a
>                makefile. I'm trying to link the makefile to the MPI library,
>                but it isn't working. Several errors are appearing:
> 
>              
>          root at carol-HP-Pavilion-dv5-____Notebook-PC:/home/carol/____mocassin/mocassin.2.02.69#
>                make mocassin
>              
>          /opt/intel/composer_xe_2011_____sp1.6.233/composer_xe_2011_____sp1.6.233/bin/intel64/ifort
>                -O5 -o mocassin source/infnan.f90 source/constants_mod.f90
>                source/vector_mod.f90 source/common_mod.f90
>                source/interpolation_mod.f90 source/set_input_mod.f90
>                source/hydro_mod.f90 source/ph_mod.f90
>                source/composition_mod.f90 source/continuum_mod.f90
>                source/ionization_mod.f90 source/pathIntegration_mod.f90
>                source/grid_mod.f90 source/dust_mod.f90
>         source/emission_mod.f90
>                source/photon_mod.f90 source/update_mod.f90
>                source/output_mod.f90 source/iteration_mod.f90
>                source/mocassin.f90
>          -l/home/carol/mocassin/____mpich2install/include
> 
>                source/common_mod.f90(240): warning #6379: The structure
>                contains one or more misaligned fields.   [GRID_TYPE]
>                   type grid_type             ! derived grid type
>                ---------^
>                source/grid_mod.f90(491): error #5102: Cannot open
>         include file
>                'mpif.h'
>                       include 'mpif.h'
>                ----------------^
>                compilation aborted for source/grid_mod.f90 (code 1)
>                source/dust_mod.f90(17): error #5102: Cannot open include
>         file
>                'mpif.h'
>                     include 'mpif.h'
>                --------------^
>                source/dust_mod.f90(97): error #6404: This name does not
>         have a
>                type, and must have an explicit type.   [MPI_REAL]
>                &                             mpi_real, mpi_sum,
>         mpi_comm_world,
>                ierr)
>                ------------------------------____^
> 
>                source/dust_mod.f90(97): error #6404: This name does not
>         have a
>                type, and must have an explicit type.   [MPI_SUM]
>                &                             mpi_real, mpi_sum,
>         mpi_comm_world,
>                ierr)
>                ------------------------------____----------^
> 
>                source/dust_mod.f90(97): error #6404: This name does not
>         have a
>                type, and must have an explicit type.   [MPI_COMM_WORLD]
>                &                             mpi_real, mpi_sum,
>         mpi_comm_world,
>                ierr)
>                ------------------------------____-------------------^
> 
>                compilation aborted for source/dust_mod.f90 (code 1)
>                source/emission_mod.f90(8): error #7013: This module file was
>                not generated by any release of this compiler.   [GRID_MOD]
>                   use grid_mod
>                --------^
>                source/emission_mod.f90(217): error #6404: This name does not
>                have a type, and must have an explicit type.   [GETVOLUME]
>                       dV = getVolume(grid,ix,iy,iz)
>                -------------^
>                source/emission_mod.f90(536): error #6404: This name does not
>                have a type, and must have an explicit type.   [HLEVXSECP]
>                           phXSecHI =
>          xSecArray(i-HIPnuP+1+____HlevXSecP(1)-1)
>                ------------------------------____---------------^
> 
>                source/emission_mod.f90(545): error #6404: This name does not
>                have a type, and must have an explicit type.   [HEISINGXSECP]
>                               phXSecHeI =
>                xSecArray(i-HeIPnuP+1+____HeISingXSecP(1)-1)
>                ------------------------------____--------------------^
> 
>                source/emission_mod.f90(553): error #6404: This name does not
>                have a type, and must have an explicit type.   [HEIIXSECP]
>                                   phXSecHeII =
>                xSecArray(i-HeIIPnuP+1+____HeIIXSecP(1)-1)
>                ------------------------------____--------------------------^
> 
>                source/emission_mod.f90(3109): remark #8291: Recommended
>                relationship between field width 'W' and the number of
>                fractional digits 'D' in this edit descriptor is 'W>=D+7'.
>                              
>         read(unit=19,fmt='(A2,I2,1x,____A23,11x,A7,1x,F9.4,7x,F9.6,4x,____F12.6,1x,I2,1x,I2,1x,E8.2,__1x,__E8.2,1x,I2)',
>                &
>              
>          ------------------------------____----------------------------__--__--------------------------__---^
> 
>                source/emission_mod.f90(3109): remark #8291: Recommended
>                relationship between field width 'W' and the number of
>                fractional digits 'D' in this edit descriptor is 'W>=D+7'.
>                              
>         read(unit=19,fmt='(A2,I2,1x,____A23,11x,A7,1x,F9.4,7x,F9.6,4x,____F12.6,1x,I2,1x,I2,1x,E8.2,__1x,__E8.2,1x,I2)',
>                &
>              
>          ------------------------------____----------------------------__--__--------------------------__----__-------^
> 
>                compilation aborted for source/emission_mod.f90 (code 1)
>                source/photon_mod.f90(9): error #7013: This module file
>         was not
>                generated by any release of this compiler.   [GRID_MOD]
>                   use grid_mod
>                --------^
>                compilation aborted for source/photon_mod.f90 (code 1)
>                source/update_mod.f90(8): error #7013: This module file
>         was not
>                generated by any release of this compiler.   [EMISSION_MOD]
>                   use emission_mod
>                --------^
>                source/update_mod.f90(234): error #6404: This name does
>         not have
>                a type, and must have an explicit type.   [HLEVXSECP]
>                                    phXSec  =
>         xSecArray(j-IPnuP+1+HlevXSecP(____1)-1)
>                ------------------------------____---------------------^
> 
>                source/update_mod.f90(238): error #6404: This name does
>         not have
>                a type, and must have an explicit type.   [HEISINGXSECP]
>                                    phXSec  =
>                xSecArray(j-IPnuP+1+____HeISingXSecP(1)-1)
>                ------------------------------____---------------------^
> 
>                source/update_mod.f90(242): error #6404: This name does
>         not have
>                a type, and must have an explicit type.   [HEIIXSECP]
>                                    phXSec  =
>         xSecArray(j-IPnuP+1+HeIIXSecP(____1)-1)
>                ------------------------------____---------------------^
> 
>                source/update_mod.f90(1304): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [FILE_NAME]
>                                        call
>                equilibrium(file_name=____dataFile(elem, ion), &
>                ------------------------------____------------^
> 
>                source/update_mod.f90(1305): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [IONDENUP]
>                                                  
>          &ionDenUp=ionDenUsed(____elementXref(elem),ion+1)/&
>                ------------------------------____-^
> 
>                source/update_mod.f90(1306): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [TE]
>                                                  
>          &ionDenUsed(elementXref(elem),____ion), Te=TeUsed,&
>              
>          ------------------------------____----------------------------__--__------^
> 
>                source/update_mod.f90(1307): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [NE]
>                                             &Ne=NeUsed,
>                FlineEm=forbiddenLinesLarge(&
>                ------------------------------____-^
> 
>                source/update_mod.f90(1307): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [FLINEEM]
>                                             &Ne=NeUsed,
>                FlineEm=forbiddenLinesLarge(&
>                ------------------------------____------------^
> 
>                source/update_mod.f90(1310): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [FILE_NAME]
>                                        call
>                equilibrium(file_name=____dataFile(elem, ion), &
>                ------------------------------____------------^
> 
>                source/update_mod.f90(1311): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [IONDENUP]
>                                             &ionDenUp=0., Te=TeUsed,&
>                ------------------------------____-^
> 
>                source/update_mod.f90(1311): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [TE]
>                                             &ionDenUp=0., Te=TeUsed,&
>                ------------------------------____--------------^
> 
>                source/update_mod.f90(1312): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [NE]
>                                             &Ne=NeUsed,
>                FlineEm=forbiddenLinesLarge(&
>                ------------------------------____-^
> 
>                source/update_mod.f90(1312): error #6632: Keyword
>         arguments are
>                invalid without an explicit interface.   [FLINEEM]
>                                             &Ne=NeUsed,
>                FlineEm=forbiddenLinesLarge(&
>                ------------------------------____------------^
> 
>                source/update_mod.f90(2033): error #6404: This name does not
>                have a type, and must have an explicit type.   [RESLINE]
>                              do imul = 1, resLine(iL)%nmul
>                ----------------------------^
>                source/update_mod.f90(2033): error #6837: The leftmost
>         part-ref
>                in a data-ref can not be a function reference.   [RESLINE]
>                              do imul = 1, resLine(iL)%nmul
>                ----------------------------^
>                source/update_mod.f90(2033): error #6158: The
>         structure-name is
>                invalid or is missing.   [RESLINE]
>                              do imul = 1, resLine(iL)%nmul
>                ----------------------------^
>                source/update_mod.f90(2034): error #6837: The leftmost
>         part-ref
>                in a data-ref can not be a function reference.   [RESLINE]
>                                 if (resLine(iL)%elem==1) then
>                ----------------------^
>                source/update_mod.f90(2034): error #6158: The
>         structure-name is
>                invalid or is missing.   [RESLINE]
>                                 if (resLine(iL)%elem==1) then
>                ----------------------^
>                source/update_mod.f90(2034): internal error: Please visit
>                'http://www.intel.com/____software/products/support
>         <http://www.intel.com/__software/products/support>
> 
>                <http://www.intel.com/__software/products/support
>         <http://www.intel.com/software/products/support>>' for assistance.
>                                 if (resLine(iL)%elem==1) then
>                ^
>                [ Aborting due to internal error. ]
>                compilation aborted for source/update_mod.f90 (code 1)
>                source/output_mod.f90(6): error #7013: This module file
>         was not
>                generated by any release of this compiler.   [EMISSION_MOD]
>                   use emission_mod
>                --------^
>                source/output_mod.f90(342): error #6404: This name does
>         not have
>                a type, and must have an explicit type.   [LOG10TE]
>                                      log10Te         = log10(TeUsed)
>                -----------------------^
>                source/output_mod.f90(343): error #6404: This name does
>         not have
>                a type, and must have an explicit type.   [LOG10NE]
>                                      log10Ne         = log10(NeUsed)
>                -----------------------^
>                source/output_mod.f90(344): error #6404: This name does
>         not have
>                a type, and must have an explicit type.   [SQRTEUSED]
>                                      sqrTeUsed = sqrt(TeUsed)
>                -----------------------^
>                source/output_mod.f90(370): error #6410: This name has
>         not been
>                declared as an array or a function.   [HIRECLINES]
>                                               HIRecLines(iup, ilow) = &
>                ------------------------------____--^
> 
>                source/output_mod.f90(370): internal error: Please visit
>                'http://www.intel.com/____software/products/support
>         <http://www.intel.com/__software/products/support>
> 
>                <http://www.intel.com/__software/products/support
>         <http://www.intel.com/software/products/support>>' for assistance.
>                                               HIRecLines(iup, ilow) = &
>                ^
>                [ Aborting due to internal error. ]
>                compilation aborted for source/output_mod.f90 (code 1)
>                source/iteration_mod.f90(35): error #5102: Cannot open
>         include
>                file 'mpif.h'
>                          include 'mpif.h'
>                -------------------^
>                source/iteration_mod.f90(7): error #7013: This module
>         file was
>                not generated by any release of this compiler.  
>         [EMISSION_MOD]
>                   use emission_mod
>                --------^
>                source/iteration_mod.f90(103): error #6404: This name
>         does not
>                have a type, and must have an explicit type.   [BJUMPTEMP]
>                                BjumpTemp = 0.
>                -----------------^
>                source/iteration_mod.f90(153): error #6404: This name
>         does not
>                have a type, and must have an explicit type.   [MPI_REAL]
>                                     & mpi_real, mpi_sum, mpi_comm_world,
>         ierr)
>                ------------------------^
>                source/iteration_mod.f90(153): error #6404: This name
>         does not
>                have a type, and must have an explicit type.   [MPI_SUM]
>                                     & mpi_real, mpi_sum, mpi_comm_world,
>         ierr)
>                ------------------------------____----^
> 
>                source/iteration_mod.f90(153): error #6404: This name
>         does not
>                have a type, and must have an explicit type.  
>         [MPI_COMM_WORLD]
>                                     & mpi_real, mpi_sum, mpi_comm_world,
>         ierr)
>                ------------------------------____-------------^
> 
>                source/iteration_mod.f90(477): error #6404: This name
>         does not
>                have a type, and must have an explicit type.   [TOTALESCAPED]
>                          totalEscaped = 0.
>                -----------^
>                source/iteration_mod.f90(543): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [ISTAR]
>                                               call
>                energyPacketDriver(iStar=0,n=____load, grid=grid(1:nGrids), &
>                ------------------------------____--------------------------^
>                source/iteration_mod.f90(543): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [N]
>                                               call
>                energyPacketDriver(iStar=0,n=____load, grid=grid(1:nGrids), &
>              
>          ------------------------------____----------------------------__--__----^
>                source/iteration_mod.f90(543): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [GRID]
>                                               call
>                energyPacketDriver(iStar=0,n=____load, grid=grid(1:nGrids), &
>              
>          ------------------------------____----------------------------__--__------------^
>                source/iteration_mod.f90(544): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [GPLOC]
>                                                    & gpLoc=gpLoc,
>         cellLoc=cellLoc)
>                ------------------------------____---------^
> 
>                source/iteration_mod.f90(544): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [CELLLOC]
>                                                    & gpLoc=gpLoc,
>         cellLoc=cellLoc)
>                ------------------------------____----------------------^
> 
>                source/iteration_mod.f90(546): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [ISTAR]
>                                               call
>                energyPacketDriver(iStar=0,n=____load, grid=grid(1:nGrids), &
>                ------------------------------____--------------------------^
>                source/iteration_mod.f90(546): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [N]
>                                               call
>                energyPacketDriver(iStar=0,n=____load, grid=grid(1:nGrids), &
>              
>          ------------------------------____----------------------------__--__----^
>                source/iteration_mod.f90(546): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [GRID]
>                                               call
>                energyPacketDriver(iStar=0,n=____load, grid=grid(1:nGrids), &
>              
>          ------------------------------____----------------------------__--__------------^
>                source/iteration_mod.f90(547): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [GPLOC]
>                                                    & gpLoc=gpLoc,
>         cellLoc=cellLoc)
>                ------------------------------____---------^
> 
>                source/iteration_mod.f90(547): error #6632: Keyword arguments
>                are invalid without an explicit interface.   [CELLLOC]
>                                                    & gpLoc=gpLoc,
>         cellLoc=cellLoc)
>                ------------------------------____----------------------^
> 
>                source/iteration_mod.f90(574): error #6404: This name
>         does not
>                have a type, and must have an explicit type.   [MPI_INTEGER]
>                                  & mpi_integer, mpi_sum, mpi_comm_world,
>         ierr)
>                ---------------------^
>                compilation aborted for source/iteration_mod.f90 (code 1)
>                source/mocassin.f90(43): error #5102: Cannot open include
>         file
>                'mpif.h'
>                   include 'mpif.h'
>                ------------^
>                source/mocassin.f90(34): error #7002: Error in opening the
>                compiled module file.  Check INCLUDE paths.   [DUST_MOD]
>                   use dust_mod
>                --------^
>                source/mocassin.f90(35): error #7013: This module file
>         was not
>                generated by any release of this compiler.   [GRID_MOD]
>                   use grid_mod
>                --------^
>                source/mocassin.f90(55): error #6404: This name does not
>         have a
>                type, and must have an explicit type.   [MPI_COMM_WORLD]
>                   call mpi_comm_rank(MPI_COMM_WORLD, taskid, ierr)
>                -----------------------^
>                compilation aborted for source/mocassin.f90 (code 1)
>                make: *** [mocassin] Error 1
> 
>                The makefile is this:
> 
>                source1  = source/infnan.f90 source/constants_mod.f90
>                source/vector_mod.f90 source/common_mod.f90
>                source/interpolation_mod.f90 \
>                   source/set_input_mod.f90 source/hydro_mod.f90
>                source/ph_mod.f90 source/composition_mod.f90 \
>                   source/continuum_mod.f90 source/ionization_mod.f90
>                source/pathIntegration_mod.f90 \
>                   source/grid_mod.f90 source/dust_mod.f90
>                source/emission_mod.f90 source/photon_mod.f90  \
>                   source/update_mod.f90 \
>                   source/output_mod.f90 source/iteration_mod.f90
>                source/mocassin.f90
> 
>                source2  = source/infnan.f90 source/constants_mod.f90
>                source/vector_mod.f90 source/common_mod.f90
>                source/interpolation_mod.f90 \
>                   source/set_input_mod.f90 source/hydro_mod.f90
>                source/ph_mod.f90 source/composition_mod.f90 \
>                   source/continuum_mod.f90 source/ionization_mod.f90
>                source/pathIntegration_mod.f90 \
>                   source/grid_mod.f90 source/dust_mod.f90
>                source/emission_mod.f90 source/photon_mod.f90  \
>                   source/update_mod.f90 \
>                   source/output_mod.f90 source/iteration_mod.f90
>                source/mocassinWarm.f90
> 
>                source3  = source/infnan.f90 source/constants_mod.f90
>                source/vector_mod.f90 source/common_mod.f90
>                source/interpolation_mod.f90 \
>                   source/set_input_mod.f90 source/hydro_mod.f90
>                source/ph_mod.f90 source/composition_mod.f90 \
>                   source/continuum_mod.f90 source/ionization_mod.f90
>                source/pathIntegration_mod.f90 \
>                   source/grid_mod.f90 source/dust_mod.f90
>                source/emission_mod.f90 source/photon_mod.f90  \
>                   source/update_mod.f90 \
>                   source/output_mod.f90 source/iteration_mod.f90
>                source/mocassinOutput.f90
> 
>                source4  = source/infnan.f90 source/constants_mod.f90
>                source/vector_mod.f90 source/common_mod.f90
>                source/interpolation_mod.f90 \
>                   source/set_input_mod.f90 source/hydro_mod.f90
>                source/ph_mod.f90 source/composition_mod.f90 \
>                   source/continuum_mod.f90 source/ionization_mod.f90
>                source/pathIntegration_mod.f90 \
>                   source/grid_mod.f90 source/dust_mod.f90
>                source/emission_mod.f90 source/photon_mod.f90  \
>                   source/update_mod.f90 \
>                   source/output_mod.f90 source/iteration_mod.f90
>                source/mocassinPlot.f90
>                 F90  =
>              
>          /opt/intel/composer_xe_2011_____sp1.6.233/composer_xe_2011_____sp1.6.233/bin/intel64/ifort
>                LIBS = -l/home/carol/mocassin/____mpich2install/include
> 
>                OPT1 = -O5
>                OPT2 = -O5
> 
>                mocassin:
>                   $(F90) $(OPT1) -o mocassin $(source1) $(LIBS)
> 
>                mocassinWarm:
>                   $(F90) $(OPT1) -o mocassinWarm $(source2) $(LIBS)
> 
>                mocassinOutput:
>                   $(F90) $(OPT2) -o mocassinOutput $(source3) $(LIBS)
> 
>                mocassinPlot:
>                   $(F90) $(OPT2) -o mocassinPlot $(source4) $(LIBS)
> 
>                clean:
>                   /bin/rm *.o *~ *.mod mocassin mocassinWarm mocassinOutput
>                mocassinPlot
> 
>                Does someone have a clue of what is the problem?
> 
>                Thanks,
>                Carolina.
> 
> 
>              
>          ------------------------------____----------------------------__--__------------
> 
> 
>                ___________________________________________________
>                mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>         <mailto:mpich-discuss at mcs.anl.gov>
>                <mailto:mpich-discuss at mcs.anl.__gov
>         <mailto:mpich-discuss at mcs.anl.gov>>
> 
>                To manage subscription options or unsubscribe:
>              
>          https://lists.mcs.anl.gov/____mailman/listinfo/mpich-discuss
>         <https://lists.mcs.anl.gov/__mailman/listinfo/mpich-discuss>
>              
>          <https://lists.mcs.anl.gov/__mailman/listinfo/mpich-discuss
>         <https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss>__>
> 
> 
>            ___________________________________________________
>            mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>         <mailto:mpich-discuss at mcs.anl.gov>
>            <mailto:mpich-discuss at mcs.anl.__gov
>         <mailto:mpich-discuss at mcs.anl.gov>>
> 
>            To manage subscription options or unsubscribe:
>            https://lists.mcs.anl.gov/____mailman/listinfo/mpich-discuss
>         <https://lists.mcs.anl.gov/__mailman/listinfo/mpich-discuss>
>            <https://lists.mcs.anl.gov/__mailman/listinfo/mpich-discuss
>         <https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss>__>
> 
> 
> 
> 
>         ------------------------------__------------------------------__------------
> 
>         _________________________________________________
>         mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>         <mailto:mpich-discuss at mcs.anl.gov>
>         To manage subscription options or unsubscribe:
>         https://lists.mcs.anl.gov/__mailman/listinfo/mpich-discuss
>         <https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss>
> 
> 
>     _________________________________________________
>     mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>     <mailto:mpich-discuss at mcs.anl.gov>
>     To manage subscription options or unsubscribe:
>     https://lists.mcs.anl.gov/__mailman/listinfo/mpich-discuss
>     <https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list