Custom Query (122 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (43 - 45 of 122)

Ticket Resolution Summary Owner Reporter
#69 fixed HSL ThirdParty build system in IpOpt out of date andreasw jhogg
Description

STFC now distribute codes and their dependencies in separate files. For example let us consider MA57, observing that no naming scheme is given when downloading the file (it just appears as text in the browser).

We have wlog two files: ma57d.f ma57d.deps.f

The current build system expects a single file ma57ad.f. This models how things used to be done - since these scripts were written it seems that renaming and management practice changes have occurred.

Obviously in this case [and for all F77 codes] we can trivially work around this by concatenating and renaming the result ma57ad.f.

I am currently in the process of adding an interface to HSL_MA77 which is a Fortran 90 code. As a result we have three files: hsl_ma77d.f90 hsl_ma77d.deps.f90 hsl_ma77d.deps.f

We have dependencies in both fixed and free source formats, so concatenating these files will produce compile errors. Further we need to add a dependency to ensure that the f90 deps are compiled before the f90 code so the module files are readable.

We should also endeavor to ensure the f77 and f90 compilers used are compatible - I've seen some nasty messes with automake choosing g77 (GNU) and f95 (NAG) compilers which don't produce stuff one can easily link together due to underscoring practices. I neat solution might be to default to using the F95 ($FC) compiler to compile F77 code in place of the ($F77) compiler.

I don't have the necessary knowledge of automake and the IpOpt? build system to easily make these changes myself however.

Jonathan Hogg

#71 fixed MUMPS makefile does not work with IBM compilers andreasw andreasw
Description

The Makefile.am sets explicitly a preprocessor flag in AM_CPPFLAGS as

AM_CPPFLAGS = -DMUMPS_ARITH=MUMPS_ARITH_d \
        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/src` \
        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/libseq` \
        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/include`

But the xlf Fortran compiler needs this to be given as

-WF,-DMUMPS_ARITH=MUMPS_ARITH_d
#72 fixed Configure errors for Cbc-2.2.2 on Fedora11 (64 bits) andreasw fmargot
Description

The following (non fatal) errors are reported when running

../configure -C

for compiling Cbc-2.2.2.

configure:2482: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2488: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3419: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:13: error: 'exit' was not declared in this scope
configure:3425: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Cbc"
| #define PACKAGE_TARNAME "cbc"
| #define PACKAGE_VERSION "2.2.2"
| #define PACKAGE_STRING "Cbc 2.2.2"
| #define PACKAGE_BUGREPORT "coin-cbc@lists.coin-or.org"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3374: g++ -c -g -O2  conftest.cc >&5
conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
configure:6630: gcc -E  conftest.c
conftest.c:14:28: error: ac_nonexistent.h: No such file or directory

I attach the main config.log file

Note: See TracQuery for help on using queries.