Hi,<br><br>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:<br><br><span style="background-color: rgb(255, 255, 0);">root@carol-HP-Pavilion-dv5-Notebook-PC:/home/carol/mocassin/mocassin.2.02.69# make mocassin</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">/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</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/common_mod.f90(240): warning #6379: The structure contains one or more misaligned fields. [GRID_TYPE]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> type grid_type ! derived grid type</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">---------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/grid_mod.f90(491): error #5102: Cannot open include file 'mpif.h'</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> include 'mpif.h'</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">compilation aborted for source/grid_mod.f90 (code 1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/dust_mod.f90(17): error #5102: Cannot open include file 'mpif.h'</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> include 'mpif.h'</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/dust_mod.f90(97): error #6404: This name does not have a type, and must have an explicit type. [MPI_REAL]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">& mpi_real, mpi_sum, mpi_comm_world, ierr)</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/dust_mod.f90(97): error #6404: This name does not have a type, and must have an explicit type. [MPI_SUM]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">& mpi_real, mpi_sum, mpi_comm_world, ierr)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/dust_mod.f90(97): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">& mpi_real, mpi_sum, mpi_comm_world, ierr)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">compilation aborted for source/dust_mod.f90 (code 1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/emission_mod.f90(8): error #7013: This module file was not generated by any release of this compiler. [GRID_MOD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> use grid_mod</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/emission_mod.f90(217): error #6404: This name does not have a type, and must have an explicit type. [GETVOLUME]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> dV = getVolume(grid,ix,iy,iz)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/emission_mod.f90(536): error #6404: This name does not have a type, and must have an explicit type. [HLEVXSECP]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> phXSecHI = xSecArray(i-HIPnuP+1+HlevXSecP(1)-1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">---------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/emission_mod.f90(545): error #6404: This name does not have a type, and must have an explicit type. [HEISINGXSECP]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> phXSecHeI = xSecArray(i-HeIPnuP+1+HeISingXSecP(1)-1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/emission_mod.f90(553): error #6404: This name does not have a type, and must have an explicit type. [HEIIXSECP]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> phXSecHeII = xSecArray(i-HeIIPnuP+1+HeIIXSecP(1)-1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">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'.</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> 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)', &</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">-----------------------------------------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">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'.</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> 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)', &</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">-------------------------------------------------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">compilation aborted for source/emission_mod.f90 (code 1)</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/photon_mod.f90(9): error #7013: This module file was not generated by any release of this compiler. [GRID_MOD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> use grid_mod</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">compilation aborted for source/photon_mod.f90 (code 1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(8): error #7013: This module file was not generated by any release of this compiler. [EMISSION_MOD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> use emission_mod</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(234): error #6404: This name does not have a type, and must have an explicit type. [HLEVXSECP]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> phXSec = xSecArray(j-IPnuP+1+HlevXSecP(1)-1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">---------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(238): error #6404: This name does not have a type, and must have an explicit type. [HEISINGXSECP]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> phXSec = xSecArray(j-IPnuP+1+HeISingXSecP(1)-1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">---------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(242): error #6404: This name does not have a type, and must have an explicit type. [HEIIXSECP]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> phXSec = xSecArray(j-IPnuP+1+HeIIXSecP(1)-1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">---------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1304): error #6632: Keyword arguments are invalid without an explicit interface. [FILE_NAME]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> call equilibrium(file_name=dataFile(elem, ion), &</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1305): error #6632: Keyword arguments are invalid without an explicit interface. [IONDENUP]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> &ionDenUp=ionDenUsed(elementXref(elem),ion+1)/&</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">-------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1306): error #6632: Keyword arguments are invalid without an explicit interface. [TE]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> &ionDenUsed(elementXref(elem),ion), Te=TeUsed,&</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">------------------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1307): error #6632: Keyword arguments are invalid without an explicit interface. [NE]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> &Ne=NeUsed, FlineEm=forbiddenLinesLarge(&</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">-------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1307): error #6632: Keyword arguments are invalid without an explicit interface. [FLINEEM]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> &Ne=NeUsed, FlineEm=forbiddenLinesLarge(&</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1310): error #6632: Keyword arguments are invalid without an explicit interface. [FILE_NAME]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> call equilibrium(file_name=dataFile(elem, ion), &</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1311): error #6632: Keyword arguments are invalid without an explicit interface. [IONDENUP]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> &ionDenUp=0., Te=TeUsed,&</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">-------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1311): error #6632: Keyword arguments are invalid without an explicit interface. [TE]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> &ionDenUp=0., Te=TeUsed,&</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1312): error #6632: Keyword arguments are invalid without an explicit interface. [NE]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> &Ne=NeUsed, FlineEm=forbiddenLinesLarge(&</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">-------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(1312): error #6632: Keyword arguments are invalid without an explicit interface. [FLINEEM]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> &Ne=NeUsed, FlineEm=forbiddenLinesLarge(&</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(2033): error #6404: This name does not have a type, and must have an explicit type. [RESLINE]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> do imul = 1, resLine(iL)%nmul</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(2033): error #6837: The leftmost part-ref in a data-ref can not be a function reference. [RESLINE]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> do imul = 1, resLine(iL)%nmul</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(2033): error #6158: The structure-name is invalid or is missing. [RESLINE]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> do imul = 1, resLine(iL)%nmul</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">----------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(2034): error #6837: The leftmost part-ref in a data-ref can not be a function reference. [RESLINE]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> if (resLine(iL)%elem==1) then</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(2034): error #6158: The structure-name is invalid or is missing. [RESLINE]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> if (resLine(iL)%elem==1) then</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">----------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/update_mod.f90(2034): internal error: Please visit '<a href="http://www.intel.com/software/products/support">http://www.intel.com/software/products/support</a>' for assistance.</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> if (resLine(iL)%elem==1) then</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">[ Aborting due to internal error. ]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">compilation aborted for source/update_mod.f90 (code 1)</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/output_mod.f90(6): error #7013: This module file was not generated by any release of this compiler. [EMISSION_MOD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> use emission_mod</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/output_mod.f90(342): error #6404: This name does not have a type, and must have an explicit type. [LOG10TE]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> log10Te = log10(TeUsed)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-----------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/output_mod.f90(343): error #6404: This name does not have a type, and must have an explicit type. [LOG10NE]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> log10Ne = log10(NeUsed)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-----------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/output_mod.f90(344): error #6404: This name does not have a type, and must have an explicit type. [SQRTEUSED]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> sqrTeUsed = sqrt(TeUsed)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-----------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/output_mod.f90(370): error #6410: This name has not been declared as an array or a function. [HIRECLINES]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> HIRecLines(iup, ilow) = &</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">--------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/output_mod.f90(370): internal error: Please visit '<a href="http://www.intel.com/software/products/support">http://www.intel.com/software/products/support</a>' for assistance.</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> HIRecLines(iup, ilow) = &</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">[ Aborting due to internal error. ]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">compilation aborted for source/output_mod.f90 (code 1)</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(35): error #5102: Cannot open include file 'mpif.h'</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> include 'mpif.h'</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">-------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(7): error #7013: This module file was not generated by any release of this compiler. [EMISSION_MOD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> use emission_mod</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(103): error #6404: This name does not have a type, and must have an explicit type. [BJUMPTEMP]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> BjumpTemp = 0.</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-----------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(153): error #6404: This name does not have a type, and must have an explicit type. [MPI_REAL]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> & mpi_real, mpi_sum, mpi_comm_world, ierr)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(153): error #6404: This name does not have a type, and must have an explicit type. [MPI_SUM]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> & mpi_real, mpi_sum, mpi_comm_world, ierr)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(153): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> & mpi_real, mpi_sum, mpi_comm_world, ierr)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(477): error #6404: This name does not have a type, and must have an explicit type. [TOTALESCAPED]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> totalEscaped = 0.</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-----------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(543): error #6632: Keyword arguments are invalid without an explicit interface. [ISTAR]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> call energyPacketDriver(iStar=0,n=load, grid=grid(1:nGrids), &</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">--------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(543): error #6632: Keyword arguments are invalid without an explicit interface. [N]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> call energyPacketDriver(iStar=0,n=load, grid=grid(1:nGrids), &</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(543): error #6632: Keyword arguments are invalid without an explicit interface. [GRID]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> call energyPacketDriver(iStar=0,n=load, grid=grid(1:nGrids), &</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">------------------------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(544): error #6632: Keyword arguments are invalid without an explicit interface. [GPLOC]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> & gpLoc=gpLoc, cellLoc=cellLoc)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">---------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(544): error #6632: Keyword arguments are invalid without an explicit interface. [CELLLOC]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> & gpLoc=gpLoc, cellLoc=cellLoc)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(546): error #6632: Keyword arguments are invalid without an explicit interface. [ISTAR]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> call energyPacketDriver(iStar=0,n=load, grid=grid(1:nGrids), &</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">--------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(546): error #6632: Keyword arguments are invalid without an explicit interface. [N]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> call energyPacketDriver(iStar=0,n=load, grid=grid(1:nGrids), &</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(546): error #6632: Keyword arguments are invalid without an explicit interface. [GRID]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> call energyPacketDriver(iStar=0,n=load, grid=grid(1:nGrids), &</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">------------------------------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(547): error #6632: Keyword arguments are invalid without an explicit interface. [GPLOC]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> & gpLoc=gpLoc, cellLoc=cellLoc)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">---------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(547): error #6632: Keyword arguments are invalid without an explicit interface. [CELLLOC]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> & gpLoc=gpLoc, cellLoc=cellLoc)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">----------------------------------------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/iteration_mod.f90(574): error #6404: This name does not have a type, and must have an explicit type. [MPI_INTEGER]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> & mpi_integer, mpi_sum, mpi_comm_world, ierr)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">---------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">compilation aborted for source/iteration_mod.f90 (code 1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/mocassin.f90(43): error #5102: Cannot open include file 'mpif.h'</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> include 'mpif.h'</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/mocassin.f90(34): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [DUST_MOD]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> use dust_mod</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">--------^</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">source/mocassin.f90(35): error #7013: This module file was not generated by any release of this compiler. [GRID_MOD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> use grid_mod</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">--------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">source/mocassin.f90(55): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);"> call mpi_comm_rank(MPI_COMM_WORLD, taskid, ierr)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">-----------------------^</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">compilation aborted for source/mocassin.f90 (code 1)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">make: *** [mocassin] Error 1</span><br>
<br>The makefile is this:<br><br>source1 = source/infnan.f90 source/constants_mod.f90 source/vector_mod.f90 source/common_mod.f90 source/interpolation_mod.f90 \<br> source/set_input_mod.f90 source/hydro_mod.f90 source/ph_mod.f90 source/composition_mod.f90 \<br>
source/continuum_mod.f90 source/ionization_mod.f90 source/pathIntegration_mod.f90 \<br> source/grid_mod.f90 source/dust_mod.f90 source/emission_mod.f90 source/photon_mod.f90 \<br> source/update_mod.f90 \<br> source/output_mod.f90 source/iteration_mod.f90 source/mocassin.f90 <br>
<br>source2 = source/infnan.f90 source/constants_mod.f90 source/vector_mod.f90 source/common_mod.f90 source/interpolation_mod.f90 \<br> source/set_input_mod.f90 source/hydro_mod.f90 source/ph_mod.f90 source/composition_mod.f90 \<br>
source/continuum_mod.f90 source/ionization_mod.f90 source/pathIntegration_mod.f90 \<br> source/grid_mod.f90 source/dust_mod.f90 source/emission_mod.f90 source/photon_mod.f90 \<br> source/update_mod.f90 \<br> source/output_mod.f90 source/iteration_mod.f90 source/mocassinWarm.f90 <br>
<br>source3 = source/infnan.f90 source/constants_mod.f90 source/vector_mod.f90 source/common_mod.f90 source/interpolation_mod.f90 \<br> source/set_input_mod.f90 source/hydro_mod.f90 source/ph_mod.f90 source/composition_mod.f90 \<br>
source/continuum_mod.f90 source/ionization_mod.f90 source/pathIntegration_mod.f90 \<br> source/grid_mod.f90 source/dust_mod.f90 source/emission_mod.f90 source/photon_mod.f90 \<br> source/update_mod.f90 \<br> source/output_mod.f90 source/iteration_mod.f90 source/mocassinOutput.f90 <br>
<br>source4 = source/infnan.f90 source/constants_mod.f90 source/vector_mod.f90 source/common_mod.f90 source/interpolation_mod.f90 \<br> source/set_input_mod.f90 source/hydro_mod.f90 source/ph_mod.f90 source/composition_mod.f90 \<br>
source/continuum_mod.f90 source/ionization_mod.f90 source/pathIntegration_mod.f90 \<br> source/grid_mod.f90 source/dust_mod.f90 source/emission_mod.f90 source/photon_mod.f90 \<br> source/update_mod.f90 \<br> source/output_mod.f90 source/iteration_mod.f90 source/mocassinPlot.f90 <br>
<br>F90 = /opt/intel/composer_xe_2011_sp1.6.233/composer_xe_2011_sp1.6.233/bin/intel64/ifort<br>LIBS = -l/home/carol/mocassin/mpich2install/include<br>OPT1 = -O5<br>OPT2 = -O5<br><br>mocassin:<br> $(F90) $(OPT1) -o mocassin $(source1) $(LIBS)<br>
<br>mocassinWarm:<br> $(F90) $(OPT1) -o mocassinWarm $(source2) $(LIBS) <br><br>mocassinOutput:<br> $(F90) $(OPT2) -o mocassinOutput $(source3) $(LIBS) <br><br>mocassinPlot:<br> $(F90) $(OPT2) -o mocassinPlot $(source4) $(LIBS) <br>
<br>clean:<br> /bin/rm *.o *~ *.mod mocassin mocassinWarm mocassinOutput mocassinPlot<br><br>Does someone have a clue of what is the problem?<br><br>Thanks,<br>Carolina.<br>