Activity for multifario

  • Michael E. Henderson Michael E. Henderson modified a wiki page

    Home

  • Michael E. Henderson Michael E. Henderson committed [40afba] on Git Repository

    Removed binaries from git consideration

  • Michael E. Henderson Michael E. Henderson committed [76b31c] on Git Repository

    Removed verbose flag left on

  • Michael E. Henderson Michael E. Henderson committed [9ab449] on Git Repository

    Changed to continue with compilation error

  • Michael E. Henderson Michael E. Henderson committed [06395b] on Git Repository

    Fixed loop index in code not usually used

  • Michael E. Henderson Michael E. Henderson committed [9fe518]

    Remove binaries added by mistake

  • Michael E. Henderson Michael E. Henderson committed [9130cd]

    Cleanup git

  • Michael E. Henderson Michael E. Henderson committed [14c134]

    Added prototype for dgels (LaPack least squares)

  • Michael E. Henderson Michael E. Henderson committed [983e4a]

    Added animate (OpenDX) option to MFMultifario

  • Michael E. Henderson Michael E. Henderson committed [ebcaa7]

    Added plotfiles and dx files

  • Michael E. Henderson Michael E. Henderson committed [ece616]

    First checkin of PointCloud

  • Michael E. Henderson Michael E. Henderson committed [bad826]

    Removed for(int

  • Michael E. Henderson Michael E. Henderson committed [769c57]

    Fix typo in test for length of Centers0

  • Michael E. Henderson Michael E. Henderson committed [a32aaf]

    Added rc to fscanf call

  • multifario multifario released /multifario-v1.0.tar.gz

  • Michael E. Henderson Michael E. Henderson committed [788c3b]

    Fixed spelling error in two examples

  • Michael E. Henderson Michael E. Henderson committed [1035f0]

    Fixed License statements in header files

  • Michael E. Henderson Michael E. Henderson committed [4f7860]

    Fixed license statements

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    It works for me on Linux (ubuntu). Did configure find lapack? Those (dbosl_ and dbofa_) depend are only built if its present. It does look like I missed putting tests for HAVE_LAPACK in src/MFForced.c and src/MFPendula.c, but you’re not going to be able to do much without lapack. Mike From: bugs@multifario.p.re.sourceforge.net bugs@multifario.p.re.sourceforge.net On Behalf Of romain Veltz Sent: Tuesday, October 4, 2022 2:38 PM To: [multifario:bugs] 4@bugs.multifario.p.re.sourceforge.net Subject:...

  • Michael E. Henderson Michael E. Henderson committed [5f0633]

    Added tests for HAVE_LAPACK to MFs using dbofa and dbosl

  • romain Veltz romain Veltz posted a comment on ticket #4

    Is it supposed to work on linux? The make ends with /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dbosl_' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dggetrs_not_found' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dggetrf_not_found' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dggesvd_not_found' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dggeev_not_found' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dbofa_'

  • romain Veltz romain Veltz posted a comment on ticket #4

    Thank you, It looks like I could compile it. Testing the dylib now... On 2 Oct 2022, at 23:52, Michael E. Henderson mhender@users.sourceforge.net wrote: Whew. I finally got my Mac set up. Haven't used it in a while and everything was out of date. 8-)} Anyway, I figure out how to get libtool configured correctly. I also took the opportunity to fix all the things -Wall complains about (mostly printing long int with %d, but some non-trivial things). I still have a couple of things I'd like to clean...

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    Whew. I finally got my Mac set up. Haven't used it in a while and everything was out of date. 8-)} Anyway, I figure out how to get libtool configured correctly. I also took the opportunity to fix all the things -Wall complains about (mostly printing long int with %d, but some non-trivial things). I still have a couple of things I'd like to clean up before actually making a new release, but in the meantime can you give this a try? Thanks!

  • Michael E. Henderson Michael E. Henderson modified ticket #4

    issues building MF

  • Michael E. Henderson Michael E. Henderson committed [296e84]

    Change AC_CONFIG_HEADER to AC_CONFIG_HEADERS

  • Michael E. Henderson Michael E. Henderson committed [ed09bc]

    Fix typo

  • Michael E. Henderson Michael E. Henderson committed [34aef1]

    Fixed typo found by gcc on MacOS

  • Michael E. Henderson Michael E. Henderson committed [57be76]

    Removed AC_HEADER_TIME

  • Michael E. Henderson Michael E. Henderson committed [389164]

    Added sys/time.h include

  • Michael E. Henderson Michael E. Henderson committed [ab4544]

    Fix typos found by MacOS gcc

  • Michael E. Henderson Michael E. Henderson committed [63b87c]

    Fix typos found by MacOS gcc

  • Michael E. Henderson Michael E. Henderson committed [2785f2]

    Ran autoupdate

  • Michael E. Henderson Michael E. Henderson committed [398f36]

    Removed check for time.h

  • Michael E. Henderson Michael E. Henderson committed [ccae95]

    Fix -Wall warnings (mostly formats)

  • Michael E. Henderson Michael E. Henderson committed [b380c4]

    Excluded tar.gz and .dpes

  • Michael E. Henderson Michael E. Henderson committed [5605da]

    Fixed printf format typo

  • Michael E. Henderson Michael E. Henderson committed [a099c3]

    Regenerated (permissions wrong?)

  • Michael E. Henderson Michael E. Henderson committed [a3240f]

    Change FFLAGS to AM_FFLAGS

  • Michael E. Henderson Michael E. Henderson committed [26d0d4]

    Changed IMFTraj and IMFNTraj to static

  • Michael E. Henderson Michael E. Henderson committed [f24fb3]

    Removed dupl in lib_libMF_a_SOURCES

  • Michael E. Henderson Michael E. Henderson committed [48a18f]

    Removed references to the objs directory

  • Michael E. Henderson Michael E. Henderson committed [4ad121]

    Added include/multifarioConfig.h.in to gitignore

  • Michael E. Henderson Michael E. Henderson committed [ab4ed0]

    Removes objs directory

  • Michael E. Henderson Michael E. Henderson committed [46f4a5]

    Fixed typo in printf

  • Michael E. Henderson Michael E. Henderson committed [bd09eb]

    Bumped up version to 1.0

  • Michael E. Henderson Michael E. Henderson committed [dc98ac]

    Added automake built things

  • Michael E. Henderson Michael E. Henderson committed [928261]

    Added Prototypes for DBOFA and DBOSL

  • Michael E. Henderson Michael E. Henderson committed [d29ece]

    Added .gitignore

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    I can't tell what's going on. It looks likes an automake/libtool configuration problem, since it isn't passing the names of the obj files to ar, but it's in the creation of the static library, and that was working, wasn't it? I'm traveling, and won't be back until next Mon., but when I do I can try to find an OSX machine and see if I can reproduce this. My Ubuntu laptop doesn't do this.

  • romain Veltz romain Veltz modified a comment on ticket #4

    Actually, when trying to call it from Julia, I am not sure it worked rveltz$ ls -lsth lib/.libs/ total 40 0 lrwxr-xr-x 1 rveltz staff 13B 26 sep 21:10 libMF.dylib -> libMF.0.dylib 40 -rwxr-xr-x 1 rveltz staff 16K 26 sep 21:10 libMF.0.dylib the make ended with: ./include/MFImplicitMF.h:301:1: warning: '/*' within block comment [-Wcomment] /*! \fn MFImplicitMF MFIMFCreateEdgeIn3SpaceWithRadius(double *o,double *d,double R,MFErrorHandler e); ^ 1 warning generated. /bin/sh ./libtool --tag=CC --mode=link...

  • romain Veltz romain Veltz posted a comment on ticket #4

    Actually, when trying to call it from Julia, I am not sure it worked rveltz$ ls -lsth lib/.libs/ total 40 0 lrwxr-xr-x 1 rveltz staff 13B 26 sep 21:10 libMF.dylib -> libMF.0.dylib 40 -rwxr-xr-x 1 rveltz staff 16K 26 sep 21:10 libMF.0.dylib the make did: ./include/MFImplicitMF.h:301:1: warning: '/*' within block comment [-Wcomment] /*! \fn MFImplicitMF MFIMFCreateEdgeIn3SpaceWithRadius(double *o,double *d,double R,MFErrorHandler e); ^ 1 warning generated. /bin/sh ./libtool --tag=CC --mode=link gcc...

  • romain Veltz romain Veltz posted a comment on ticket #4

    Looks like it worked, thanks a lot

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    OK. Lets try this replacement for Makefile.am -- I moved the stuff from lib/Makefile.am into it, and added lib_LTLIBRARIES=lib/libMF.la lib/libExpCmp.la lib/libSH.la lib/libauto2000.la lib/libautof2c.la lib_libMF_la_SOURCES=lib_libMF_a_SOURCES lib_libExpCmp_la_SOURCES=lib_libExpCmp_a_SOURCES lib_libSH_la_SOURCES=lib_libSH_a_SOURCES lib_libauto2000_la_SOURCES=lib_libauto2000_a_SOURCES lib_libautof2c_la_SOURCES=lib_libautof2c_a_SOURCES That should create the shared libraries in lib/.libs (libtool does...

  • romain Veltz romain Veltz posted a comment on ticket #4

    I admit I must be a bit stiff, but your suggestion fails for me multifario-v0.9k rveltz$ gcc -shared -o lib/libMFShared.so src/*.o Undefined symbols for architecture x86_64: "_ECCreateDerivativeOfFunction", referenced from: _MFIMFCreateAlgebraicExpressionWithRadius in MFAlgebraic.o "_ECCreateFunction", referenced from: _MFIMFCreateAlgebraicExpressionWithRadius in MFAlgebraic.o "_ECEvaluateFunction", referenced from: _MFSingularAlgebraic in MFAlgebraic.o _MFProjectAlgebraic in MFAlgebraic.o _MFTangentAlgebraic...

  • Michael E. Henderson Michael E. Henderson committed [a8d189]

    Added shared library to make

  • Michael E. Henderson Michael E. Henderson committed [ca57d1]

    Removed objs dir from automake

  • Michael E. Henderson Michael E. Henderson committed [f0e20a]

    Remove failed merge

  • Michael E. Henderson Michael E. Henderson committed [a434f5]

    Added lib directory

  • Michael E. Henderson Michael E. Henderson committed [9cedeb]

    Updated comments with License

  • Michael E. Henderson Michael E. Henderson modified a comment on ticket #4

    All the objects are in the src directory (don't ask -- I have issues with automake). According to google you should be able to do something like gcc -shared -o lib/libMFShared.so src/*.o

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    All the objects are in the src directory (don't ask -- I have issues with automake). According to google you should be able to do something like g++ -shared -o lib/libMFShared.so src/*.o

  • romain Veltz romain Veltz posted a comment on ticket #4

    I tried ./configure --enable-shared but I cant get a libMF.so, do you have hint for this noob question? (I am trying to make a wrapper to Julia programming language)

  • romain Veltz romain Veltz posted a comment on ticket #4

    this seems to work make 'CFLAGS=-Wno-return-type -Wno-error=implicit-function-declaration' Thanks a lot

  • Michael E. Henderson Michael E. Henderson modified a comment on ticket #4

    add void MFChartSetPositionInAtlas(MFChart thisChart, int pos, MFErrorHandler e); to include/MFAtlas.h after the line declaring MFAtlasReduceChartRadius You seem to ave something like the -Wall compiler flag on, or the OSX is really picky. These are warnings on my system. I've been (slowly) working my way through them.

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    add void MFChartSetPositionInAtlas(MFChart thisChart, int pos, MFErrorHandler e); to include/MFAtlas.h after the line declaring MFAtlasReduceChartRadius You seem to ave something like the -Wall compiler flag on, or the OSX is really picky. These are warnings on my system. I've been (slowly) working my way through them.

  • romain Veltz romain Veltz posted a comment on ticket #4

    Thank you! I am getting this one now ../src/MFAtlas.c:1853:3: error: implicit declaration of function 'MFChartSetPositionInAtlas' is invalid in C99 [-Werror,-Wimplicit-function-declaration] MFChartSetPositionInAtlas(chart,A->nCharts,e);

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    Ugh. I thought I'd got all those (they're warnings on my system). I will fix this and if I can remember how to create a new release I'll release the fix. In the meantime, replacing "return;" with "return (MFChart)NULL;" will get rid of the error.

  • romain Veltz romain Veltz posted a comment on ticket #4

    It sure helped, thank you. It stops on this now ../src/MFChart.c:1061:60: error: non-void function 'MFCreateBoundaryChart' should return a value [-Wreturn-type] if(m>k-1){printf("m(%d)>k+1(%d)\n",m,k+1);fflush(stdout);return;} ^ 20 warnings and 1 error generated.

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    In objs/Makefile.am I define the ld flags that the binaries need. I used LDADD = -lMF -lExpCmp -lauto2000 -lautof2c -lSH $(TIFF_LIBRARY) $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS) -lm and it should be LDADD = ../lib/libMF.a ../lib/libExpCmp.a ../lib/libauto2000.a ../lib/libautof2c.a ../lib/libSH.a $(TIFF_LIBRARY) $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS) -lm Somehow not using the "../lib/" allowed automake to think it didn't have to build those libraries. I guess I can see that. Can you make...

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    OK. I tried running automake again, and it complained about a version mismatch. Ran aclocal like it suggested and then automake. Now I'm getting the same issue you have. So something in automake seems to have been "improved" and broken the scripts. Now that I'm getting the same error I can hopefully fix it.

  • romain Veltz romain Veltz posted a comment on ticket #4

    osx is a real pain :( I did make clean etc. The first issue is with libtools, I install it with homebrew and then I do PATH="/usr/local/opt/libtool/libexec/gnubin:$PATH" which alllows me to run sh bootstrap which gives rveltz$ sh bootstrap + libtoolize --force libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking...

  • romain Veltz romain Veltz posted a comment on ticket #4

    osx is a real pain :( I did make clean etc. The first issue is with libtools, I install it with homebrew and then I do PATH="/usr/local/opt/libtool/libexec/gnubin:$PATH" which alllows me to run sh bootstrap which gives rveltz$ sh bootstrap + libtoolize --force libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking...

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    I'm sorry. I didn't see them until just now. I don't understand what's going on. It should compile a lot of files, not just Examples/AUTBVP.c Somehow it thinks it has already built the libraries and has tried to go right to the examples. I don't see any errors in any of the output you've sent. It's just skipping the build of the library. You did a "make clean", right? The only thing I can suggest is to start from scratch with a new directory. I just downloaded the tgz file and built it on my laptop...

  • romain Veltz romain Veltz posted a comment on ticket #4

    Hi, Did it help you to have these files?

  • romain Veltz romain Veltz posted a comment on ticket #4

    I forgot to say that I did PATH="/usr/local/opt/libtool/libexec/gnubin:$PATH"to have libtool before calling bootstrap and that I am on osx

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    Can you do: make clean make > make.out 2> make.err and send make.out and make.err please? Thanks,

  • romain Veltz romain Veltz modified a comment on ticket #4

    No the lib folder is empty. I dont know why it starts with AUTBVP.O knowing that the lib MF has ont been built. I add the makefiles in case it helps. If you need another file to help me, do ont hesitate to ask. Thank you

  • romain Veltz romain Veltz posted a comment on ticket #4

    No the lib folder is empty. I dont know why it starts with AUTBVP.O knowing that the lib MF has ont been built. I add the makefiles in case it helps. If you need another file to help me, do ont hesitate to ask. Thank you

  • Michael E. Henderson Michael E. Henderson posted a comment on ticket #4

    I've been timid about actually moving to v1.0. So yeah, v0.9[a-z] is where it's at. I don't see anything wrong, although there doesn't seem like near enough output from the make. Is there anything in the /home/rveltz/prog/multifario-v0.9k/lib directory? Mike

  • romain Veltz romain Veltz created ticket #4

    issues building MF

  • Michael E. Henderson Michael E. Henderson committed [b1dde6]

    More comments

  • Michael E. Henderson Michael E. Henderson committed [ef84be]

    Added comments

  • Michael E. Henderson Michael E. Henderson committed [9d1229]

    Added many more comments

  • Michael E. Henderson Michael E. Henderson committed [d70a60]

    Update ComputeSphere.c

  • Michael E. Henderson Michael E. Henderson posted a comment on discussion Open Discussion

    The arrays are all column order. f_i = f[i] d f_i/d u_j = df[i+nu*j] d^2 f_i/d u_j/du_k = ddf[i+nu*(j+nu*k)] I'm not sure what you mean by 3d Hessians, nu=3? Mike ------------------------------------------------------------------------------------------------------------------------------------Applied Mathematics, TJ Watson Research Centermhender@us.ibm.comhttp://researcher.watson.ibm.com/researcher/view.php?person=us-mhenderhttp://multifario.sourceforge.net/ ----- Original message -----From: "MathPhilic"...

  • MathPhilic MathPhilic posted a comment on discussion Open Discussion

    I understand that when we give the manifold as a subroutine, we also have to give the subroutines for Jacobian and Hessian. The Jacobian ans Hessian should be returned as arrays by the respective subroutines. I wanted to ask are these arrays filled row-wise or column-wise from the Jacobian and Hessian matrices. Also please tell me how to pass 3D hessians. Thank you.

  • Michael E. Henderson Michael E. Henderson modified a comment on discussion Open Discussion

    The choice of boundary vertex/chart shouldn't change the number of charts drastically, no. That depends more on the radii of the charts and the volume of the solution manifold. The radius of the final polyhedra is roughly half of the chart radius, so you can divide the volume of M by the average volume of the polyhedra to estimate the number of charts. That's why the number of charts is exponential in the dimension of M. The choice of boundary point, particularly the order of the charts on the boundary...

  • Michael E. Henderson Michael E. Henderson posted a comment on discussion Open Discussion

    The choice of boundary vertex/chart shouldn't change the number of vertices drastically, no. That depends more on the radii of the charts and the volume of the solution manifold. The radius of the final polyhedra is roughly half of the chart radius, so you can divide the volume of M by the average volume of the polyhedra to estimate the number of charts. That's why the number of charts is exponential in the dimension of M. The choice of boundary point, particularly the order of the charts on the...

  • MathPhilic MathPhilic posted a comment on discussion Open Discussion

    Thank you Sir for your prompt response. I do have a follow up quesiton though. As coded in the Multifario, for finding a boundary point on the chart, one of the vertices of the polytope is selected. The selection (I think) is not random. The vertices have a preference as in vertex 0 will be selected before vertex 1 to get a boundary point of the chart. Does changing this preference order of the vertices change the number of charts and the chart centres drastically? Also, does the final atlas deteriorate...

  • Michael E. Henderson Michael E. Henderson posted a comment on discussion Open Discussion

    Yes, the final number of charts will depend on the inital point. Look at it this way: If you place points in a square on an equilateral triangular lattice and only keep those whose lie inside the square, the number of points will change as the origin of the lattice changes. For a flat 2-manifold Multifario will not quite generate chart centers on a triangular lattice, but if the charts are all the same radius it is close (could be exact if the boundary points are selected in a slightly different...

  • MathPhilic MathPhilic modified a comment on discussion Open Discussion

    Hello everyone, I wanted to ask whether the number of charts and the chart centres themselves in the final atlas, are supposed to change when the initial point is changed? Thank you.

  • MathPhilic MathPhilic posted a comment on discussion Open Discussion

    Hello everyone, I wanted to ask whether the number of charts and the chart centres themselves are supposed to change when the initial point is changed? Thank you.

  • Michael E. Henderson Michael E. Henderson posted a comment on discussion Open Discussion

    An IVP is a special case of a two point boundary value problem (TPBVP). The relevant example is Examples/ComputeDomokos.c The equations are defined in the routine "f". So you would use something like void f(double r, int nu, double *u, int np, double *p, double *u0, double *l0, double *f,MFErrorHandler e) { double mu_s_maxCsCx=??; double mu_p_maxCsCx=??; // More constants double V=u[0]; double Cx=u[1]; double Ce=u[2]; double Cs=u[3]; f[0]=F; f[1]=mu_s_maxCsCx/(Ks+Cs)-F*Cx/V; f[2]=mu_p_maxCsCx/(Ki+Cs+Cs*Cs/Ke)+F*Ce/V;...

  • Jayanth V K S M Jayanth V K S M posted a comment on discussion Open Discussion

    Hi all, Please suggest me a way to solve for the Initial Value Problems of the kind State Variables : V,Cx,Ce,Cs Constants : F=500, mu_s_max=2.0235, mu_p_max=6.0824, S0=325, Y_x_s=0.2476, Y_e_s=0.74313, Qm=0.070687 ,Ks=0.34075, Ke=1.0984, Ki=5.8948; Model Equations: dV/dt=F; dCx/dt=mu_s_maxCsCx/(Ks+Cs)-FCx/V; dCe/dt=mu_p_maxCsCx/(Ki+Cs+CsCs/Ke)+FCe/V; dCs/dt=F(S0-Cs)/V-(mu_s_maxCsCx/((Ks+Cs)Y_x_s)+mu_p_maxCsCx/((Ki+Cs+CsCs/Ke)Y_e_s)+QmCx); Ranges: 48000 < V < 70000 0.0 < Cx < 50 0.0 < Ce < 50 0.0...

  • Michael E. Henderson Michael E. Henderson committed [c698a2]

    Fix sprintf error message that have RoutineName, and fscanf warnings

  • Michael E. Henderson Michael E. Henderson committed [9646d7]

    Added checks on fscanf

  • Michael E. Henderson Michael E. Henderson committed [c2d683]

    FIx printf format warnings

  • Michael E. Henderson Michael E. Henderson committed [2abbd1]

    Fix printf format warnings

  • Michael E. Henderson Michael E. Henderson committed [be549b]

    Trying to get autconf and doxygen to play nicely (they still don't)

1 >