calling MPI of Fotran from python

I try to calling MPI of Fortran from python. I have one subr. called helloword.f90: subroutine hello include ‘mpif.h’ integer ierr, rank, size !character(len=MPI_MAX_LIBRARY_VERSION_STRING) version call MPI_INIT(ierr) call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr) call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierr) !call MPI_GET_LIBRARY_VERSION(version, len, ierr) print*,’hello I am ‘, rank,’of ‘, size call MPI_FINALIZE(ierr) end subroutine hello And another one called…

Details

Windows Authentication works on IIS but not Kestrel / Microsoft.AspNetCore.Authentication.Negotiate (not in Chrome / work in Edge though)?

I created a new Blazor (Server-side) application with Windows Authentication and run it using IIS Express. It will display a message of “Hello Domain\User!” from the following razor component (…\BlazorApp1\BlazorApp1\Shared\LoginDisplay.razor) on top right. <AuthorizeView> Hello, @context.User.Identity.Name! </AuthorizeView> If running using Kestrel, the message is not shown. So I tried the following steps to make it…

Details

Spring Reactive WebSocket – serve from several Hot Streams

I’m using Spring WebFlux together with reactive WebSockets and trying to serve messages from several Hot Fluxes. Here’s how it looks: @Bean public WebSocketHandler webSocketHandler(MessageProducer<Message> messageProducer) { return session -> { Flux<Message> recentPosts = messageProducer.streamRecentPosts(); Flux<Message> onLoadMorePosts = session.receive() .map(WebSocketMessage::getPayloadAsText) .map(this::toInputMessage) .filter(LoadMoreInputMessage.class::isInstance) .map(LoadMoreInputMessage.class::cast) .map(LoadMoreInputMessage::getLoaded) .flatMap(messageProducer::streamRecentPosts); Flux<Message> systemMessages = messageProducer.streamSystemMessages(); Flux<Message> relevantSystemMessages = Flux.merge(recentPosts, onLoadMorePosts) .flatMap(post…

Details