Custom Query (122 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (37 - 39 of 122)

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
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

#70 worksforme Help Configuring Ipopt andreasw humberto
Description

I would appreciate if somebody help me with to configure Ipopt. I have tried to configure Ipopt from different ways without success. I have the following folders: CoinIpopt/Ipopt/ThirdParty? and in ThirdParty? are ASL, BLAS, HSL, Lapack and Mumps. I used the following command

humberto@humberto-laptop:~/CoinIpopt?$ ./configure

stoping the configuration with the following lines:

checking whether -lblas has BLAS... no configure: error: cannot find BLAS configure: error: /bin/bash './configure' failed for Ipopt humberto@humberto-laptop:~/CoinIpopt?$

Below is the last part from the config.log

## ---------------- ## ## Cache variables. ## ## ---------------- ##

ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_ADD_CFLAGS_set= ac_cv_env_ADD_CFLAGS_value= ac_cv_env_ADD_CXXFLAGS_set= ac_cv_env_ADD_CXXFLAGS_value= ac_cv_env_ADD_FFLAGS_set= ac_cv_env_ADD_FFLAGS_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CDEFS_set= ac_cv_env_CDEFS_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_COIN_SKIP_PROJECTS_set= ac_cv_env_COIN_SKIP_PROJECTS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXDEFS_set= ac_cv_env_CXXDEFS_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_DBG_CFLAGS_set= ac_cv_env_DBG_CFLAGS_value= ac_cv_env_DBG_CXXFLAGS_set= ac_cv_env_DBG_CXXFLAGS_value= ac_cv_env_DBG_FFLAGS_set= ac_cv_env_DBG_FFLAGS_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_MPICC_set= ac_cv_env_MPICC_value= ac_cv_env_MPICXX_set= ac_cv_env_MPICXX_value= ac_cv_env_MPIF77_set= ac_cv_env_MPIF77_value= ac_cv_env_OPT_CFLAGS_set= ac_cv_env_OPT_CFLAGS_value= ac_cv_env_OPT_CXXFLAGS_set= ac_cv_env_OPT_CXXFLAGS_value= ac_cv_env_OPT_FFLAGS_set= ac_cv_env_OPT_FFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_f77_compiler_gnu=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=mawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_F77=gfortran ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=yes ac_cv_prog_egrep='grep -E' ac_cv_prog_f77_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_SED=/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_c_o_F77=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\s/.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\ lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\s/: \([ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\ -e '\s/[BCDEGRST] \([ ]*\) \([ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\ lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\s/. .* \(.*\)$/extern int \1;/p'\ lt_cv_sys_max_cmd_len=32768 lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"yes"' lt_lt_cv_prog_compiler_c_o_F77='"yes"' lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\s/.*[ ]
([ABCDGIRSTW][ABCDGIRSTW]*
)[ ][ ]*
([_A-Za-z][_A-Za-z0-9]*
)\$/
1
2
2/p'\"' lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\s/:
([
]*
) \$/ {
\"
1
\", (lt_ptr) 0},/p'\ -e '\s/[BCDEGRST]
([
]*
)
([ ]*
)\$/ {\"
2\", (lt_ptr)
&
2},/p'\"' lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\s/
. .*
(.*
)\$/extern int
1;/p'\"'

## ----------------- ## ## Output variables. ## ## ----------------- ##

ACLOCAL='${SHELL} /home/humberto/CoinIpopt/missing --run aclocal-1.9' ADD_CFLAGS= ADD_CXXFLAGS= ADD_FFLAGS= AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE= AMTAR='${SHELL} /home/humberto/CoinIpopt/missing --run tar' AR='ar' AUTOCONF='${SHELL} /home/humberto/CoinIpopt/missing --run autoconf' AUTOHEADER='${SHELL} /home/humberto/CoinIpopt/missing --run autoheader' AUTOMAKE='${SHELL} /home/humberto/CoinIpopt/missing --run automake-1.9' AUX_DIR= AWK='mawk' BUILDTOOLSDIR= CC='gcc' CCDEPMODE='depmode=gcc3' CDEFS= CFLAGS='-O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas ' COIN_SKIP_PROJECTS= CPP='gcc -E' CPPFLAGS= CXX='g++' CXXCPP='g++ -E' CXXDEFS= CXXDEPMODE='depmode=gcc3' CXXFLAGS='-O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas ' CYGPATH_W='echo' DBG_CFLAGS='-g -pipe -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas ' DBG_CXXFLAGS='-g -pipe -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas ' DBG_FFLAGS='-g -pipe ' DEFS='-DPACKAGE_NAME=\"Ipopt\" -DPACKAGE_TARNAME=\"ipopt\" -DPACKAGE_VERSION=\"3.5stable\" -DPACKAGE_STRING=\"Ipopt\ 3.5stable\" -DPACKAGE_BUGREPORT=\"http://projects.coin-or.org/Ipopt/newticket\" -DPACKAGE=\"ipopt\" -DVERSION=\"3.5stable\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 ' DEPDIR='.deps' ECHO='echo' ECHO_C= ECHO_N='-n' ECHO_T= EGREP='grep -E' EXEEXT= F77='gfortran' FFLAGS='-O3 -fomit-frame-pointer -pipe ' HAVE_EXTERNALS_FALSE= HAVE_EXTERNALS_TRUE='#' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS= LIBEXT='a' LIBOBJS= LIBS= LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOLM4= LN_S='ln -s' LTLIBOBJS= LT_LDFLAGS= MAINT='#' MAINTAINER_MODE_FALSE= MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/humberto/CoinIpopt/missing --run makeinfo' MPICC= MPICXX= MPIF77= OBJEXT='o' OPT_CFLAGS='-O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas ' OPT_CXXFLAGS='-O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas ' OPT_FFLAGS='-O3 -fomit-frame-pointer -pipe ' PACKAGE='ipopt' PACKAGE_BUGREPORT='http://projects.coin-or.org/Ipopt/newticket' PACKAGE_NAME='Ipopt' PACKAGE_STRING='Ipopt 3.5stable' PACKAGE_TARNAME='ipopt' PACKAGE_VERSION='3.5stable' PATH_SEPARATOR=':' RANLIB='ranlib' RPATH_FLAGS=' -Wl,--rpath -Wl,/home/humberto/CoinIpopt/lib' SET_MAKE= SHELL='/bin/bash' STRIP='strip' VERSION='3.5stable' VPATH_DISTCLEANFILES= abs_bin_dir='/home/humberto/CoinIpopt/bin' abs_include_dir='/home/humberto/CoinIpopt/include' abs_lib_dir='/home/humberto/CoinIpopt/lib' abs_source_dir='/home/humberto/CoinIpopt' ac_c_preproc_warn_flag= ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_F77= ac_ct_RANLIB='ranlib' ac_ct_STRIP='strip' ac_cxx_preproc_warn_flag= amfastdepCC_FALSE='#' amfastdepCC_TRUE= amfastdepCXX_FALSE='#' amfastdepCXX_TRUE= aminclude='include' amleading_dot='.' amquote= amtar='${AMTAR} chof - "$$tardir"' amuntar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias= build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${prefix}/share' exec_prefix='${prefix}' have_autoconf= have_automake= have_svn= host='i686-pc-linux-gnu' host_alias= host_cpu='i686' host_os='linux-gnu' host_vendor='pc' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/home/humberto/CoinIpopt/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' prefix='/home/humberto/CoinIpopt' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sol_cc_compiler= subdirs=' Ipopt' sysconfdir='${prefix}/etc' target_alias=

configure: exit 1

#32 wontfix How to add Fortran compiler when linking andreasw kmartin
Description

Hi:

My project links to Ipopt libs. On Linux no problem -- on Mac OS X I need to explicitly put a link to the FORTRAN compiler when building my unitTest. Here is what I do in Makefile.am

if COIN_HAS_IPOPT LIBS += -l$(F77) endif

This seems to work fine. Here is my question: is this the best way to do this? I am worried that this might not work on some platforms.

Thanks

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Note: See TracQuery for help on using queries.