[phenixbb] Pb installing cryo_fit gromacs

CUNIASSE Philippe Philippe.CUNIASSE at cea.fr
Wed May 3 06:02:35 PDT 2023


Dear all,
I tried to install Cryo_fit on my labtop Macbook pro M1 running OSX 13.0.
The installation of the Cryo_fit itself in Phenix went well.
I then tried to install gromacs (gromacs-4.5.5_cryo_fit) following the instructions found on https://phenix-online.org/documentation/tutorials/cryo_fit_install.html#id1
But during the compilation, I encoutered the following error that stops the process.


cc  -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/libxml2 -I../../include -DGMXLIBDIR=\"/Applications/phenix-1.20.1-4487/modules/cryo_fit/cryo_fit/share/top\"   -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -msse2 -std=gnu99  -I./include -MT md.o -MD -MP -MF .deps/md.Tpo -c -o md.o md.c

md.c:414:9: error: call to undeclared function 'please_cite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

        please_cite(stderr,"Kim2019");

        ^

md.c:421:23: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]

    init_em_map(fplog,ftp2fn(efEMM, nfile, fnm), emmap, ir, state_global,cr);

                      ^~~~~~~~~~~~~~~~~~~~~~~~~

../../include/cryoem.h:43:44: note: passing argument to parameter 'emfile' here

extern void init_em_map(FILE *fplog, char *emfile,t_emmap *emmap, t_inputrec *ir, t_state *state, t_commrec *cr);

                                           ^

1 warning and 1 error generated.

I did it under a bash shell,
Python version : 2.7.15


cc --version

Apple clang version 14.0.3 (clang-1403.0.22.14.1)

Target: arm64-apple-darwin22.1.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Any suggestion to solve it ?
Thanks in advance for your help.
Philippe.


-----------------------------------------------
Philippe Cuniasse, PhD/HDR.
Institut de Biologie Integrative de la cellule.
UMR 9198 CNRS-CEA-Univ Paris Sud
Bat 144 CE-Saclay
91191 Gif-sur-Yvette Cedex
France
Tel:      (33) 1 69 08 56 35
Fax:      (33) 1 69 08 47 12
Email: philippe.cuniasse at cea.fr<mailto:philippe.cuniasse at cea.fr>
Web: http://biodev.cea.fr/rasmot3d/

[signature_1537351220][signature_732259530][signature_3011392973]
-----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/phenixbb/attachments/20230503/87118c38/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5582 bytes
Desc: image001.png
URL: <http://phenix-online.org/pipermail/phenixbb/attachments/20230503/87118c38/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 8292 bytes
Desc: image002.png
URL: <http://phenix-online.org/pipermail/phenixbb/attachments/20230503/87118c38/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 7537 bytes
Desc: image003.png
URL: <http://phenix-online.org/pipermail/phenixbb/attachments/20230503/87118c38/attachment-0005.png>


More information about the phenixbb mailing list