jasonlarkin / p3dfft

Automatically exported from code.google.com/p/p3dfft
GNU General Public License v3.0
0 stars 0 forks source link

Remove INC_FFT #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- p3dfft.2.3.2/sample/C/makefile.loc at line 15 and
p3dfft.2.3.2/sample/FORTRAN/makefile.loc at line 17
$(INC_FFT) can be removed ???

Original issue reported on code.google.com by d4p...@ucsd.edu on 3 Mar 2010 at 1:26

GoogleCodeExporter commented 9 years ago
Doing so causes the following errors:
Error: Can't open included file 'mpif.h'
 In file driver_sine.f:79

      call MPI_Bcast(nx,1, MPI_INTEGER,0,mpi_comm_world,ierr)                  
                                     1
Error: Symbol 'mpi_integer' at (1) has no IMPLICIT type
 In file driver_sine.f:51

      call MPI_COMM_SIZE (MPI_COMM_WORLD,nproc,ierr)                           
                                       1
Error: Symbol 'mpi_comm_world' at (1) has no IMPLICIT type
 In file driver_sine.f:234

      call MPI_Reduce(timers,gt(1,1),10,mpi_real8,MPI_SUM,0,                   
                                                        1
Error: Symbol 'mpi_sum' at (1) has no IMPLICIT type
 In file driver_sine.f:226

      call MPI_Reduce(rtime1,rtime2,1,mpi_real8,MPI_MAX,0,                     
                                              1
Error: Symbol 'mpi_real8' at (1) has no IMPLICIT type
 In file driver_sine.f:220

      call MPI_Reduce(cdiff,ccdiff,1,mpireal,MPI_MAX,0,                        
                                                   1
Error: Symbol 'mpi_max' at (1) has no IMPLICIT type
 In file driver_sine.f:240

      call MPI_Reduce(timers,gt(1,3),10,mpi_real8,MPI_MIN,0,                   
                                                        1
Error: Symbol 'mpi_min' at (1) has no IMPLICIT type
 In file driver_sine.f:182

         rtime1 = rtime1 - MPI_wtime()                                         
                                   1
Error: Function 'mpi_wtime' at (1) has no IMPLICIT type
 In file driver_sine.f:186

         rtime1 = rtime1 + MPI_wtime()                                         
                                   1
Error: Function 'mpi_wtime' at (1) has no IMPLICIT type
 In file driver_sine.f:198

         rtime1 = rtime1 - MPI_wtime()                                         
                                   1
Error: Function 'mpi_wtime' at (1) has no IMPLICIT type
 In file driver_sine.f:201

         rtime1 = rtime1 + MPI_wtime()                                         
                                   1
Error: Function 'mpi_wtime' at (1) has no IMPLICIT type
make[1]: *** [driver_sine.o] Error 1
make[1]: Leaving directory `/root/SVN/test/sample/FORTRAN'
make: *** [all] Error 2

Original comment by dan.djc...@gmail.com on 4 Mar 2010 at 7:11