jasonlarkin / p3dfft

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

configure #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create a configure script to automate installation process for the P3DFFT
library and samples.

Original issue reported on code.google.com by d4p...@ucsd.edu on 21 Apr 2010 at 12:46

GoogleCodeExporter commented 9 years ago

Original comment by d4p...@ucsd.edu on 21 Apr 2010 at 12:47

GoogleCodeExporter commented 9 years ago
The configure script compiles on both Triton/TACC using the PGI compiler. 

Original comment by d4p...@ucsd.edu on 21 Apr 2010 at 12:49

GoogleCodeExporter commented 9 years ago
Currently working on implementing arguments to allow the user to easily select
options such as compiling in single-precision.

Original comment by d4p...@ucsd.edu on 21 Apr 2010 at 12:51

GoogleCodeExporter commented 9 years ago
It appears that the Fortran files are unable to include C header files. This 
could be
a problem since autotools generates config.h based on what options the user 
selects
when running ./configure

I will look for a way to directly assign the options as compiler flags.

Original comment by d4p...@ucsd.edu on 24 Apr 2010 at 6:07

GoogleCodeExporter commented 9 years ago
Finally managed to get ./configure to pass preprocessor options to Makefile. 
Currently 
working on getting configure to delegate the preprocessor options to makefiles 
in 
subdirectories.

Original comment by d4p...@ucsd.edu on 24 Apr 2010 at 8:56

GoogleCodeExporter commented 9 years ago
Successfully implemented preprocessor options! Will work on polishing up the 
configure 
script by having it output what options have and haven't been selected.

e.g. "checking to see if FFTW has been enabled... yes"

Original comment by d4p...@ucsd.edu on 24 Apr 2010 at 9:29

GoogleCodeExporter commented 9 years ago
configure script will now output what options have and haven't been selected. 
Next I'll 
be working on canonicalizing system types. Will also look into using 
configure's with-
package options to see if there's a better way to point to FFTW/MPI locations.

Original comment by d4p...@ucsd.edu on 25 Apr 2010 at 8:35

GoogleCodeExporter commented 9 years ago
Working on allowing the user to pass in customized locations for FFTW/MPI

Original comment by d4p...@ucsd.edu on 26 Apr 2010 at 11:38

GoogleCodeExporter commented 9 years ago
Users can now pass in their own include/lib directories!

Original comment by d4p...@ucsd.edu on 27 Apr 2010 at 2:13

GoogleCodeExporter commented 9 years ago
Tested 'make dist-gizp.' Everything seems to package correctly. Next I will 
move up 
compiler flags from subdirectories. Will experiment with creating a template 
option for 
compiling on a specific platform.

Original comment by d4p...@ucsd.edu on 27 Apr 2010 at 3:26

GoogleCodeExporter commented 9 years ago
The configure script will now take the location of FFTW3 and automatically 
assign an 
include and lib macro to tell make where to search for dependencies.

What's left:
 - error-checking for invalid user inputs
 - move dependencies from -arg-enable to -arg-with

Original comment by d4p...@ucsd.edu on 30 Apr 2010 at 7:53

GoogleCodeExporter commented 9 years ago
- Error-checking complete
- Package-options complete
- PREFIX options fixed

Original comment by d4p...@ucsd.edu on 3 May 2010 at 10:27

GoogleCodeExporter commented 9 years ago

Original comment by d4p...@ucsd.edu on 3 May 2010 at 10:28