Comments (7)
Hi Teslos
You are still working with OC, I have not seen you updated much of your iso-C interface for OC.
As a matter of fact I have updated one of the examples on TQ4lib and I think I managed to eliminate both getkey and this "tinyfile_dialog" routines.
I am a bit too old to bother with POSIX or not, in fact I thought I am using MinGW but I am not really sure from where I downloaded by last gfortran version. To me the website for MinGW seemed quite dead whereas there is some more recent MSYS2 which seems to be a replacement but I want to change as little as possible. But I would appreciate help for the C connection and possibly also with Python although that seems to quite far away. This f2py converter is evidently only for F77 code.
Best wishes
Bosse
from opencalphad.
from opencalphad.
I am not very familiar with anything else than Fortran and I try to ensure I can compile the new version of OC on WIndows, Linux and MacOS. I have collaborated interfacing OC with C or C++ for 2 commercial applications and if one could make a more general interface, also including Python, I would be happy to collaborate, mainly by avoiding creating problems with my Fortran code. I do not think I ca contribute discussing POSIX or related issues.
For the moment I am mainly working on the code for step/map for interactive use, the OCASI/TQ interface has not gained much attention. I am also collaborating with someone developing a GUI (by creating OC macro files and writing python code) but again my main responsibility is not to mess up things so I prefer to stay with Fortran. But the getkey and tinyfile_dialogs were necessary for the interactive use of the Fortran code. For the use of OCASI/TQ they can be eliminated.
from opencalphad.
I am retired and work on OC on my personal PC at home so I have very little chance to test installing OC on various OS or configurations. Anyone are welcome to provide improved Makefiles/installment procedures/scripts. Such things are outside my knowledge, I want to concentrate on the thermodynamics.
from opencalphad.
Hi Teslos
I am sorry I am a bit slow but now I wonder why you are using getkey.c when you are running on Windows? Normally you should not compile and link that routine on Windows. I added it in order to have command line editing on Linux and it is only compiled if you use the Makefile. On WIndows I recommend using my homemade "linkmake" or "linkpara" routines to compile and link OC and they do not include getkey.c.
Can you explain why you want to use getkey.c? There is probably no problem for me to change to use the getch() you propose, is that normally available on linux systems?
Best wishes
Bosse
from opencalphad.
Hi Teslos
Using the Makefile on WIndows you can remove compiling getkey.c altogether and
the -Dlixed option when compiling metlib4.F90
Best wishes
Bosse
from opencalphad.
As I have no responses I close this
from opencalphad.
Related Issues (20)
- Error at gtp3.F90:1880 while compiling HOT 3
- Can the opencalphad calculate the solidification route of alloys by the Scheil model? HOT 1
- Error in running tests in TQ3lib-clean HOT 2
- Gnuplot plotting HOT 1
- Problem with TP functions with real powers, and SOLGASMIX converter HOT 4
- Error 4244 at peritectic reaction HOT 2
- Calculation of a surrounded single in a diagram. HOT 1
- Modeling ordered phases with more then 1 interstitial sublattice HOT 2
- Mapping problems HOT 1
- Segmentation fault HOT 4
- OCASI compilation failure HOT 2
- fpm support HOT 5
- TQ4 parallel-alnipt input file HOT 7
- start.OCM causes crash HOT 7
- Too complicated TP function term HOT 1
- Defining components HOT 2
- Waiting time/ Scheil solidification calculation HOT 6
- Identifiers or acronyms HOT 2
- Legend/subtitles/set position HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencalphad.